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.001351/0.001351, allocations: 87.23 kB / 21.71 MB, free: 5.008 MB / 14.72 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.001362/0.001362, allocations: 161.3 kB / 25.02 MB, free: 2.684 MB / 14.72 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.358/1.358, allocations: 158.6 MB / 186.8 MB, free: 6.27 MB / 174.1 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 2.164e-06/2.164e-06, allocations: 0 / 250.4 MB, free: 7.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.468e-05, allocations: 2.312 kB / 250.4 MB, free: 7.648 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03143/0.03146, allocations: 21.55 MB / 272 MB, free: 1.988 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.02063/0.05209, allocations: 7.475 MB / 279.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006477/0.05857, allocations: 183.1 kB / 279.6 MB, free: 10.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02213/0.0807, allocations: 8.243 MB / 287.9 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.09501, allocations: 3.135 MB / 291 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007817/0.1028, allocations: 1.805 MB / 292.8 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02078/0.1236, allocations: 11.68 MB / 304.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2115/0.3351, allocations: 14.55 MB / 319 MB, free: 16.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02178/0.3569, allocations: 8.98 MB / 328 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.3693, allocations: 5.723 MB / 333.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005542/0.3748, allocations: 1.728 MB / 335.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01187/0.3867, allocations: 2.134 MB / 337.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007254/0.3939, allocations: 3.52 MB / 341.1 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01377/0.4077, allocations: 4.284 MB / 345.4 MB, free: 6.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03919/0.4469, allocations: 23.5 MB / 368.9 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4469, allocations: 3.984 kB / 368.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4469, allocations: 0 / 368.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0009111/0.4478, allocations: 0 / 368.9 MB, free: 0.9219 MB / 302.1 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.05831/0.5061, allocations: 13.61 MB / 382.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.5062, allocations: 11.98 kB / 382.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05307/0.5593, allocations: 9.021 MB / 391.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/0.5775, allocations: 6.768 MB / 398.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/0.5785, allocations: 0.7307 MB / 399.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005699/0.5842, allocations: 0.9572 MB / 400 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05305/0.6373, allocations: 16.74 MB / 416.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005619/0.6378, allocations: 11.95 kB / 416.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003956/0.6418, allocations: 410 kB / 417.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009531/0.6428, allocations: 0.5914 MB / 417.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04221/0.685, allocations: 15.71 MB / 433.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.337/1.022, allocations: 47.57 MB / 481 MB, free: 101.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/1.036, allocations: 9.338 MB / 490.4 MB, free: 97.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005493/1.041, allocations: 3.466 MB / 493.8 MB, free: 95.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/1.06, allocations: 10.18 MB / 0.4922 GB, free: 89.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/1.06, allocations: 73.36 kB / 0.4923 GB, free: 89.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=357): time 7.274e-06/1.06, allocations: 0 / 0.4923 GB, free: 89.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=362): time 0.03663/1.096, allocations: 17.31 MB / 0.5092 GB, free: 72.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.096, allocations: 94.19 kB / 0.5093 GB, free: 72.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007394/1.104, allocations: 4.693 MB / 0.5139 GB, free: 67.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007446/1.105, allocations: 81.7 kB / 0.5139 GB, free: 67.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.107, allocations: 4.618 MB / 0.5185 GB, free: 63.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.109, allocations: 1.293 MB / 0.5197 GB, free: 62.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003498/1.112, allocations: 1.18 MB / 0.5209 GB, free: 60.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/1.112, allocations: 301.1 kB / 0.5212 GB, free: 60.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004388/1.116, allocations: 2.897 MB / 0.524 GB, free: 57.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006216/1.123, allocations: 5.283 MB / 0.5291 GB, free: 51.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/1.134, allocations: 8.624 MB / 0.5376 GB, free: 41.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.134, allocations: 24 kB / 0.5376 GB, free: 41.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01882/1.153, allocations: 9.844 MB / 0.5472 GB, free: 31.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.153, allocations: 40 kB / 0.5472 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/1.153, allocations: 76 kB / 0.5473 GB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/1.157, allocations: 1.404 MB / 0.5487 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005337/1.163, allocations: 1.33 MB / 0.55 GB, free: 28.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.179, allocations: 12.13 MB / 0.5618 GB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/1.185, allocations: 371.6 kB / 0.5622 GB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.187, allocations: 300 kB / 0.5625 GB, free: 15.84 MB / 382.1 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.008734/1.195, allocations: 3.923 MB / 0.5663 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00232/1.198, allocations: 0.5596 MB / 0.5668 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.211, allocations: 6.677 MB / 0.5734 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009171/1.22, allocations: 5.514 MB / 0.5788 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/1.22, allocations: 12 kB / 0.5788 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.817e-05/1.22, allocations: 23.86 kB / 0.5788 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03184/1.252, allocations: 13.03 MB / 0.5915 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/1.252, allocations: 4 kB / 0.5915 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/1.256, allocations: 0.6631 MB / 0.5922 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003901/1.259, allocations: 1.269 MB / 0.5934 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.1638/1.423, allocations: 86.34 kB / 0.5935 GB, free: 130.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/1.441, allocations: 11.04 MB / 0.6043 GB, free: 125.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/1.441, allocations: 6.516 kB / 0.6043 GB, free: 125.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/1.462, allocations: 10.05 MB / 0.6141 GB, free: 121.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/1.465, allocations: 0.9659 MB / 0.615 GB, free: 121.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001481/1.467, allocations: 72.47 kB / 0.6151 GB, free: 121.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/1.47, allocations: 222.6 kB / 0.6153 GB, free: 121.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/1.471, allocations: 280.9 kB / 0.6156 GB, free: 121.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005633/1.472, allocations: 121 kB / 0.6157 GB, free: 121.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005692/1.477, allocations: 3.067 MB / 0.6187 GB, free: 120.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.477, allocations: 0 / 0.6187 GB, free: 120.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00877/1.486, allocations: 1.684 MB / 0.6203 GB, free: 120 MB / 398.1 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.0026/1.489, allocations: 0.5321 MB / 0.6208 GB, free: 119.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01372/1.502, allocations: 7.203 MB / 0.6279 GB, free: 115.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.502, allocations: 4 kB / 0.6279 GB, free: 115.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006658/1.509, allocations: 3.358 MB / 0.6312 GB, free: 112.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006109/1.515, allocations: 0.9226 MB / 0.6321 GB, free: 112 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/1.548, allocations: 18.29 MB / 0.6499 GB, free: 94.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01121/1.559, allocations: 6.117 MB / 0.6559 GB, free: 88.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.006361/1.566, allocations: 2.1 MB / 0.6579 GB, free: 86.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/1.567, allocations: 348.4 kB / 0.6583 GB, free: 86.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.044e-06/1.567, allocations: 0 / 0.6583 GB, free: 86.27 MB / 398.1 MB Notification: Performance of Templates: time 0.1014/1.669, allocations: 61.96 MB / 0.7188 GB, free: 24.26 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] 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: 9.667831543833017]