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.001134/0.001134, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001025/0.001025, allocations: 172.9 kB / 25.61 MB, free: 8.91 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.009/1.009, allocations: 158.6 MB / 187.5 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.924e-06/1.924e-06, allocations: 0 / 251.5 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.795e-05, allocations: 2.312 kB / 251.5 MB, free: 7.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01858/0.0186, allocations: 23.46 MB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.03281, allocations: 7.608 MB / 282.6 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004518/0.03733, allocations: 183.1 kB / 282.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.04739, allocations: 8.672 MB / 291.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.05801, allocations: 3.154 MB / 294.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.06263, allocations: 1.784 MB / 296.4 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.07554, allocations: 11.7 MB / 308.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02258/0.09813, allocations: 14.58 MB / 322.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01807/0.1162, allocations: 9.131 MB / 331.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.1274, allocations: 6.511 MB / 338.3 MB, free: 0 / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005901/0.1333, allocations: 1.719 MB / 340 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009069/0.1423, allocations: 2.14 MB / 342.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007273/0.1496, allocations: 3.573 MB / 345.7 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01086/0.1605, allocations: 4.32 MB / 350.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1746/0.335, allocations: 10.96 MB / 361 MB, free: 53.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.335, allocations: 2.562 kB / 361 MB, free: 53.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.335, allocations: 0 / 361 MB, free: 53.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007243/0.3358, allocations: 2.188 kB / 361 MB, free: 53.96 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.03269/0.3685, allocations: 13.56 MB / 374.6 MB, free: 50.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.3685, allocations: 13.89 kB / 374.6 MB, free: 50.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02994/0.3985, allocations: 6.854 MB / 381.4 MB, free: 49.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.4103, allocations: 5.653 MB / 387.1 MB, free: 47.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006047/0.4109, allocations: 0.7377 MB / 387.8 MB, free: 46.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004179/0.4151, allocations: 0.9678 MB / 388.8 MB, free: 46.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02787/0.443, allocations: 7.943 MB / 396.7 MB, free: 42.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004016/0.4434, allocations: 19.8 kB / 396.8 MB, free: 42.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003718/0.4471, allocations: 413.4 kB / 397.2 MB, free: 42.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004463/0.4475, allocations: 0.5869 MB / 397.8 MB, free: 41.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.4618, allocations: 3.873 MB / 401.6 MB, free: 37.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07262/0.5345, allocations: 41.75 MB / 443.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00829/0.5428, allocations: 6.351 MB / 449.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.5451, allocations: 1.395 MB / 451.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.5565, allocations: 6.469 MB / 457.6 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.5566, allocations: 78.81 kB / 457.7 MB, free: 212 kB / 346.7 MB Notification: Performance of pre-optimization done (n=357): time 5.1e-06/0.5566, allocations: 0 / 457.7 MB, free: 212 kB / 346.7 MB Notification: Performance of matching and sorting (n=362): time 0.01948/0.5761, allocations: 8.743 MB / 466.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.5761, allocations: 90.25 kB / 466.5 MB, free: 7.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/0.582, allocations: 4.003 MB / 470.5 MB, free: 3.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001101/0.5831, allocations: 81.7 kB / 470.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003053/0.5862, allocations: 4.95 MB / 475.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001809/0.588, allocations: 1.341 MB / 476.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/0.5898, allocations: 1.344 MB / 478.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5899, allocations: 476.8 kB / 478.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.591, allocations: 0.6985 MB / 479.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.5939, allocations: 4.289 MB / 483.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/0.599, allocations: 5.611 MB / 489.3 MB, free: 15.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.532e-05/0.5991, allocations: 20 kB / 489.3 MB, free: 15.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.009742/0.6088, allocations: 5.16 MB / 494.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.6089, allocations: 36 kB / 494.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.609, allocations: 80 kB / 494.6 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003477/0.6125, allocations: 1.264 MB / 495.8 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/0.6162, allocations: 1.218 MB / 497.1 MB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1746/0.7908, allocations: 8.401 MB / 0.4936 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/0.7945, allocations: 228.8 kB / 0.4938 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007167/0.7952, allocations: 252 kB / 0.4941 GB, free: 102.6 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.002996/0.7982, allocations: 0.5449 MB / 0.4946 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.7992, allocations: 0.5568 MB / 0.4951 GB, free: 102.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.804, allocations: 3.379 MB / 0.4984 GB, free: 102.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003207/0.8072, allocations: 2.307 MB / 0.5007 GB, free: 102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.8072, allocations: 10.25 kB / 0.5007 GB, free: 102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.8072, allocations: 22.03 kB / 0.5007 GB, free: 102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.8234, allocations: 10.4 MB / 0.5109 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.8234, allocations: 3.812 kB / 0.5109 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.8247, allocations: 0.5607 MB / 0.5114 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/0.8268, allocations: 1.125 MB / 0.5125 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.827, allocations: 84.89 kB / 0.5126 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006306/0.8333, allocations: 7.927 MB / 0.5204 GB, free: 97.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8333, allocations: 10.34 kB / 0.5204 GB, free: 97.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/0.8397, allocations: 4.154 MB / 0.5244 GB, free: 96.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.8413, allocations: 0.8029 MB / 0.5252 GB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.8417, allocations: 72 kB / 0.5253 GB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000944/0.8427, allocations: 104.2 kB / 0.5254 GB, free: 96.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/0.8431, allocations: 290.3 kB / 0.5257 GB, free: 96.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.8432, allocations: 87.94 kB / 0.5257 GB, free: 96.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002043/0.8453, allocations: 1.752 MB / 0.5274 GB, free: 95.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8453, allocations: 0 / 0.5274 GB, free: 95.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004815/0.8501, allocations: 1.677 MB / 0.5291 GB, free: 94.82 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.001128/0.8512, allocations: 0.4907 MB / 0.5296 GB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005352/0.8566, allocations: 4.064 MB / 0.5335 GB, free: 91.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8566, allocations: 3.844 kB / 0.5335 GB, free: 91.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.859, allocations: 2.147 MB / 0.5356 GB, free: 90.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.8617, allocations: 0.949 MB / 0.5366 GB, free: 89.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/0.8812, allocations: 14.84 MB / 0.5511 GB, free: 75.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.8836, allocations: 2.754 MB / 0.5537 GB, free: 73.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002431/0.886, allocations: 0.7108 MB / 0.5544 GB, free: 72.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001465/0.8875, allocations: 0.9782 MB / 0.5554 GB, free: 71.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.365e-06/0.8875, allocations: 0 / 0.5554 GB, free: 71.8 MB / 394.7 MB Notification: Performance of Templates: time 0.08872/0.9762, allocations: 66.34 MB / 0.6202 GB, free: 5.617 MB / 394.7 MB " [Timeout remaining time 659] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.082091211806983]