Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 111.9 kB / 18.4 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 190.3 kB / 19.33 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 55.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09339, allocations: 46.61 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.232/0.3254, allocations: 24.89 MB / 400.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02034/0.3458, allocations: 7.357 MB / 408.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006412/0.3523, allocations: 158.3 kB / 408.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02092/0.3733, allocations: 8.787 MB / 417 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.3851, allocations: 2.984 MB / 420 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006121/0.3913, allocations: 1.73 MB / 421.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01561/0.4069, allocations: 10.86 MB / 432.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03599/0.4429, allocations: 21.87 MB / 454.5 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.4546, allocations: 5.806 MB / 460.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/0.467, allocations: 6.35 MB / 466.6 MB, free: 4.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005506/0.4726, allocations: 1.68 MB / 468.3 MB, free: 2.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009296/0.4819, allocations: 2.039 MB / 470.3 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006362/0.4883, allocations: 3.223 MB / 473.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01594/0.5043, allocations: 6.172 MB / 479.7 MB, free: 7.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03249/0.5368, allocations: 22.38 MB / 0.4904 GB, free: 1.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5369, allocations: 0 / 0.4904 GB, free: 1.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5369, allocations: 0 / 0.4904 GB, free: 1.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007398/0.5376, allocations: 0 / 0.4904 GB, free: 1.078 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04634/0.584, allocations: 12.9 MB / 0.503 GB, free: 4.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.5841, allocations: 8.031 kB / 0.503 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04159/0.6257, allocations: 7.191 MB / 0.51 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.6417, allocations: 6.168 MB / 0.516 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008899/0.6426, allocations: 0.7105 MB / 0.5167 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005355/0.648, allocations: 0.9296 MB / 0.5176 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04507/0.6931, allocations: 16.2 MB / 0.5334 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004975/0.6936, allocations: 15.91 kB / 0.5334 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003817/0.6974, allocations: 399.9 kB / 0.5338 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007388/0.6982, allocations: 0.5864 MB / 0.5344 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03515/0.7334, allocations: 15.46 MB / 0.5495 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5138/1.247, allocations: 52.23 MB / 0.6005 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02457/1.272, allocations: 35.49 MB / 0.6352 GB, free: 70.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00528/1.277, allocations: 3.386 MB / 0.6385 GB, free: 68.72 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01508/1.292, allocations: 10.05 MB / 0.6483 GB, free: 60.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/1.292, allocations: 60.89 kB / 0.6483 GB, free: 60.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 7.093e-06/1.292, allocations: 3.938 kB / 0.6483 GB, free: 60.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03352/1.326, allocations: 15.36 MB / 0.6633 GB, free: 45.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/1.326, allocations: 81.78 kB / 0.6634 GB, free: 45.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/1.331, allocations: 3.852 MB / 0.6672 GB, free: 41.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006052/1.332, allocations: 77.7 kB / 0.6673 GB, free: 41.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/1.334, allocations: 4.257 MB / 0.6714 GB, free: 36.81 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.335, allocations: 1.066 MB / 0.6725 GB, free: 35.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/1.337, allocations: 1.095 MB / 0.6735 GB, free: 34.65 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/1.337, allocations: 301.1 kB / 0.6738 GB, free: 34.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/1.34, allocations: 2.552 MB / 0.6763 GB, free: 31.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/1.344, allocations: 4.909 MB / 0.6811 GB, free: 25.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.354, allocations: 7.945 MB / 0.6889 GB, free: 16.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/1.354, allocations: 24 kB / 0.6889 GB, free: 16.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01732/1.372, allocations: 8.641 MB / 0.6973 GB, free: 7.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/1.372, allocations: 36 kB / 0.6973 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001396/1.372, allocations: 80.53 kB / 0.6974 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/1.375, allocations: 1.246 MB / 0.6986 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004873/1.38, allocations: 1.228 MB / 0.6998 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.396, allocations: 9.952 MB / 0.7096 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/1.401, allocations: 327.4 kB / 0.7099 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.403, allocations: 288 kB / 0.7101 GB, free: 10.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008588/1.411, allocations: 3.74 MB / 0.7138 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.413, allocations: 375.3 kB / 0.7142 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.424, allocations: 5.807 MB / 0.7198 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008721/1.433, allocations: 4.766 MB / 0.7245 GB, free: 11.88 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.93e-05/1.433, allocations: 12 kB / 0.7245 GB, free: 11.87 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.601e-05/1.433, allocations: 15.94 kB / 0.7245 GB, free: 11.86 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/1.458, allocations: 13.7 MB / 0.7379 GB, free: 14.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.458, allocations: 4 kB / 0.7379 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.461, allocations: 0.5578 MB / 0.7384 GB, free: 13.54 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/1.464, allocations: 1.114 MB / 0.7395 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/1.464, allocations: 79.91 kB / 0.7396 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/1.479, allocations: 8.824 MB / 0.7482 GB, free: 3.383 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.479, allocations: 11.94 kB / 0.7482 GB, free: 3.371 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2508/1.73, allocations: 8.5 MB / 0.7565 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/1.732, allocations: 0.8657 MB / 0.7574 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007508/1.733, allocations: 58.3 kB / 0.7574 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.735, allocations: 189.1 kB / 0.7576 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/1.735, allocations: 223.6 kB / 0.7578 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.736, allocations: 94.3 kB / 0.7579 GB, free: 172.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00447/1.74, allocations: 2.591 MB / 0.7604 GB, free: 171.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.01e-07/1.74, allocations: 0 / 0.7604 GB, free: 171.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006788/1.747, allocations: 1.553 MB / 0.762 GB, free: 171.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008059/1.748, allocations: 247.2 kB / 0.7622 GB, free: 171.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.76, allocations: 6.521 MB / 0.7686 GB, free: 168.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.76, allocations: 1.438 kB / 0.7686 GB, free: 168.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005936/1.766, allocations: 2.972 MB / 0.7715 GB, free: 167.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/1.771, allocations: 0.9496 MB / 0.7724 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/1.796, allocations: 15.79 MB / 0.7878 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005063/1.801, allocations: 6.045 MB / 0.7937 GB, free: 157.6 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.802, allocations: 352.3 kB / 0.794 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.333e-06/1.802, allocations: 3.938 kB / 0.7941 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of Templates: time 0.4261/2.228, allocations: 157.4 MB / 0.9478 GB, free: 158.6 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches