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_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002367/0.002367, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002565/0.002565, allocations: 158.1 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 250.4 MB, free: 7.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.631e-05/3.815e-05, allocations: 2.312 kB / 250.4 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03683/0.03687, allocations: 24.3 MB / 274.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.0585, allocations: 7.65 MB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006492/0.06499, allocations: 179.1 kB / 282.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02479/0.08978, allocations: 8.926 MB / 291.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01605/0.1058, allocations: 3.166 MB / 294.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007734/0.1136, allocations: 1.823 MB / 296.5 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02076/0.1343, allocations: 11.68 MB / 308.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03756/0.1719, allocations: 14.57 MB / 322.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02578/0.1977, allocations: 9.057 MB / 331.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01515/0.2128, allocations: 6.312 MB / 338.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006382/0.2192, allocations: 1.727 MB / 339.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008996/0.2282, allocations: 2.136 MB / 342 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007745/0.2359, allocations: 3.573 MB / 345.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01359/0.2495, allocations: 4.343 MB / 349.9 MB, free: 3.895 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2086/0.4581, allocations: 23.63 MB / 373.5 MB, free: 49.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4581, allocations: 0.5 kB / 373.5 MB, free: 49.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4581, allocations: 0.625 kB / 373.5 MB, free: 49.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0008986/0.459, allocations: 0 / 373.5 MB, free: 49.39 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.05183/0.5108, allocations: 15.73 MB / 389.2 MB, free: 42.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5109, allocations: 15.2 kB / 389.2 MB, free: 42.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04411/0.555, allocations: 9.034 MB / 398.3 MB, free: 38.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/0.5718, allocations: 6.116 MB / 404.4 MB, free: 34.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006967/0.5725, allocations: 0.7317 MB / 405.1 MB, free: 33.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005113/0.5776, allocations: 0.9744 MB / 406.1 MB, free: 32.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04895/0.6265, allocations: 17.01 MB / 423.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007121/0.6272, allocations: 7.953 kB / 423.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006351/0.6336, allocations: 402.6 kB / 423.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005477/0.6341, allocations: 0.5908 MB / 424.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03277/0.6669, allocations: 13.97 MB / 438.1 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3502/1.017, allocations: 108.4 MB / 0.5337 GB, free: 95.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/1.034, allocations: 8.706 MB / 0.5422 GB, free: 93.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005466/1.04, allocations: 2.997 MB / 0.5451 GB, free: 92.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0225/1.062, allocations: 10.49 MB / 0.5553 GB, free: 83.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/1.062, allocations: 76.19 kB / 0.5554 GB, free: 83.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=357): time 5.892e-06/1.062, allocations: 0 / 0.5554 GB, free: 83.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=362): time 0.04018/1.102, allocations: 15.39 MB / 0.5704 GB, free: 67.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/1.102, allocations: 88.59 kB / 0.5705 GB, free: 67.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009729/1.112, allocations: 6.395 MB / 0.5768 GB, free: 61.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008894/1.113, allocations: 81.7 kB / 0.5769 GB, free: 61.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003108/1.116, allocations: 5.217 MB / 0.582 GB, free: 55.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.118, allocations: 1.494 MB / 0.5834 GB, free: 54.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/1.121, allocations: 1.593 MB / 0.585 GB, free: 52.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/1.121, allocations: 480.7 kB / 0.5854 GB, free: 52.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/1.124, allocations: 2.366 MB / 0.5877 GB, free: 50.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/1.13, allocations: 6.164 MB / 0.5938 GB, free: 42.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.141, allocations: 9.454 MB / 0.603 GB, free: 31.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001394/1.141, allocations: 31.66 kB / 0.603 GB, free: 31.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01882/1.159, allocations: 8.861 MB / 0.6117 GB, free: 22.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.16, allocations: 40 kB / 0.6117 GB, free: 22.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/1.16, allocations: 79.94 kB / 0.6118 GB, free: 22.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004986/1.165, allocations: 1.627 MB / 0.6134 GB, free: 20.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005721/1.17, allocations: 1.322 MB / 0.6147 GB, free: 19.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.19, allocations: 13.44 MB / 0.6278 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/1.196, allocations: 359.5 kB / 0.6281 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/1.198, allocations: 304 kB / 0.6284 GB, free: 5.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008841/1.207, allocations: 3.524 MB / 0.6319 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002331/1.209, allocations: 0.5518 MB / 0.6324 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.218/1.427, allocations: 5.817 MB / 0.6381 GB, free: 111.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008018/1.435, allocations: 4.752 MB / 0.6427 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/1.435, allocations: 15.8 kB / 0.6427 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-05/1.435, allocations: 17.91 kB / 0.6428 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03491/1.47, allocations: 16.49 MB / 0.6589 GB, free: 110.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.47, allocations: 3.812 kB / 0.6589 GB, free: 110.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/1.473, allocations: 0.6588 MB / 0.6595 GB, free: 110.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004218/1.477, allocations: 1.466 MB / 0.6609 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008574/1.478, allocations: 89.47 kB / 0.661 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/1.494, allocations: 12.35 MB / 0.6731 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.494, allocations: 7.688 kB / 0.6731 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.508, allocations: 8.703 MB / 0.6816 GB, free: 95.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003808/1.512, allocations: 0.8723 MB / 0.6824 GB, free: 95.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.513, allocations: 78.56 kB / 0.6825 GB, free: 95.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.516, allocations: 221.5 kB / 0.6827 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007359/1.517, allocations: 286.5 kB / 0.683 GB, free: 95.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.517, allocations: 115.3 kB / 0.6831 GB, free: 94.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004973/1.522, allocations: 3.189 MB / 0.6862 GB, free: 91.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/1.522, allocations: 0 / 0.6862 GB, free: 91.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008101/1.53, allocations: 1.691 MB / 0.6879 GB, free: 90.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003179/1.533, allocations: 0.5164 MB / 0.6884 GB, free: 89.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01223/1.546, allocations: 7.138 MB / 0.6953 GB, free: 82.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.546, allocations: 4.062 kB / 0.6954 GB, free: 82.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006432/1.552, allocations: 3.396 MB / 0.6987 GB, free: 79.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/1.558, allocations: 0.9497 MB / 0.6996 GB, free: 78.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/1.592, allocations: 16.86 MB / 0.7161 GB, free: 61.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007655/1.6, allocations: 5.582 MB / 0.7215 GB, free: 55.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005328/1.605, allocations: 1.768 MB / 0.7232 GB, free: 53.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.606, allocations: 344.4 kB / 0.7236 GB, free: 53.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.304e-06/1.606, allocations: 0 / 0.7236 GB, free: 53.48 MB / 394.7 MB Notification: Performance of Templates: time 0.2682/1.874, allocations: 61.81 MB / 0.7839 GB, free: 111.7 MB / 410.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.373937488999218]