Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001587/0.001587, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.001779, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 62 kB / 325.6 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1021, allocations: 53.38 MB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0272/0.1293, allocations: 23.22 MB / 402.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.1457, allocations: 7.837 MB / 410 MB, free: 244 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0051/0.1508, allocations: 234.8 kB / 410.2 MB, free: 8 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02282/0.1737, allocations: 9.222 MB / 419.5 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.1845, allocations: 3.361 MB / 422.8 MB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.1897, allocations: 1.816 MB / 424.6 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01581/0.2055, allocations: 12.36 MB / 437 MB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02729/0.2328, allocations: 15.84 MB / 452.9 MB, free: 5.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.2469, allocations: 6.636 MB / 459.5 MB, free: 14.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01796/0.2648, allocations: 6.976 MB / 466.5 MB, free: 7.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007114/0.272, allocations: 1.836 MB / 468.3 MB, free: 5.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009547/0.2815, allocations: 2.207 MB / 470.5 MB, free: 3.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2132/0.4947, allocations: 3.605 MB / 474.1 MB, free: 30.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01351/0.5082, allocations: 5.367 MB / 479.5 MB, free: 30.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0284/0.5366, allocations: 24.89 MB / 0.4925 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.5366, allocations: 0 / 0.4925 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5366, allocations: 0 / 0.4925 GB, free: 24.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009248/0.5375, allocations: 0 / 0.4925 GB, free: 24.65 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04948/0.587, allocations: 14.66 MB / 0.5069 GB, free: 16.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.5871, allocations: 12.02 kB / 0.5069 GB, free: 16.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04621/0.6333, allocations: 8.448 MB / 0.5151 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/0.6486, allocations: 7.821 MB / 0.5228 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/0.6491, allocations: 0.8034 MB / 0.5236 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004093/0.6532, allocations: 1.06 MB / 0.5246 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/0.6993, allocations: 18.54 MB / 0.5427 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004773/0.6997, allocations: 15.94 kB / 0.5427 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00489/0.7046, allocations: 450.5 kB / 0.5431 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009175/0.7055, allocations: 0.6672 MB / 0.5438 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04134/0.7469, allocations: 17.48 MB / 0.5609 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/0.873, allocations: 50.37 MB / 0.6101 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02753/0.9005, allocations: 12.65 MB / 0.6224 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007737/0.9082, allocations: 3.729 MB / 0.626 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006935/0.9089, allocations: 131.9 kB / 0.6262 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.9091, allocations: 90.62 kB / 0.6263 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=518): time 1.026e-05/0.9091, allocations: 0 / 0.6263 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=524): time 0.05833/0.9674, allocations: 21.24 MB / 0.647 GB, free: 11.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.9675, allocations: 111.1 kB / 0.6471 GB, free: 11.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007722/0.9752, allocations: 3.999 MB / 0.651 GB, free: 7.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008858/0.9761, allocations: 105.7 kB / 0.6511 GB, free: 7.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003914/0.98, allocations: 4.687 MB / 0.6557 GB, free: 2.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002497/0.9825, allocations: 1.864 MB / 0.6575 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00426/0.9868, allocations: 1.379 MB / 0.6589 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9869, allocations: 301.1 kB / 0.6591 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/0.9934, allocations: 3.434 MB / 0.6625 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008993/1.002, allocations: 5.894 MB / 0.6683 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2322/1.235, allocations: 10.01 MB / 0.678 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/1.235, allocations: 22.12 kB / 0.6781 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02105/1.256, allocations: 10.88 MB / 0.6887 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/1.256, allocations: 39.09 kB / 0.6887 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/1.256, allocations: 78.98 kB / 0.6888 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/1.259, allocations: 1.38 MB / 0.6901 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/1.266, allocations: 1.618 MB / 0.6917 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.28, allocations: 10.93 MB / 0.7024 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/1.285, allocations: 400.8 kB / 0.7028 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.286, allocations: 340.3 kB / 0.7031 GB, free: 176 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006621/1.293, allocations: 4.163 MB / 0.7072 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.294, allocations: 476.2 kB / 0.7076 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.307, allocations: 8.381 MB / 0.7158 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01013/1.317, allocations: 7.032 MB / 0.7227 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/1.317, allocations: 12 kB / 0.7227 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.105e-05/1.317, allocations: 30.66 kB / 0.7227 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03172/1.349, allocations: 16.12 MB / 0.7385 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.349, allocations: 3.938 kB / 0.7385 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003885/1.353, allocations: 0.9438 MB / 0.7394 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/1.356, allocations: 1.225 MB / 0.7406 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006634/1.357, allocations: 120 kB / 0.7407 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/1.369, allocations: 9.656 MB / 0.7501 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.369, allocations: 0.9375 kB / 0.7501 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01794/1.387, allocations: 12.22 MB / 0.7621 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/1.39, allocations: 1.088 MB / 0.7631 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.391, allocations: 92 kB / 0.7632 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/1.394, allocations: 267.8 kB / 0.7635 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008201/1.395, allocations: 376.2 kB / 0.7638 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004683/1.396, allocations: 159.9 kB / 0.764 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004377/1.4, allocations: 2.575 MB / 0.7665 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.4, allocations: 4 kB / 0.7665 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007703/1.408, allocations: 1.915 MB / 0.7684 GB, free: 118 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/1.409, allocations: 304.5 kB / 0.7687 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01326/1.422, allocations: 8.371 MB / 0.7768 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.422, allocations: 3.938 kB / 0.7768 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006504/1.428, allocations: 3.89 MB / 0.7806 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005781/1.434, allocations: 1.003 MB / 0.7816 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/1.466, allocations: 19.48 MB / 0.8006 GB, free: 84.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009883/1.476, allocations: 6.588 MB / 0.8071 GB, free: 78.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006927/1.483, allocations: 2.284 MB / 0.8093 GB, free: 75.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/1.485, allocations: 436.4 kB / 0.8097 GB, free: 75.48 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/1.485, allocations: 0 / 0.8097 GB, free: 75.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.1292/1.614, allocations: 71.94 MB / 0.88 GB, free: 4.188 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.37473173206672]