Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 70.11 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 149.4 kB / 24.49 MB, free: 3.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 42.66 kB / 319.5 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08591, allocations: 52.17 MB / 371.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02564/0.1115, allocations: 21.42 MB / 393.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.1262, allocations: 7.529 MB / 400.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003012/0.1292, allocations: 214.9 kB / 400.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01922/0.1485, allocations: 8.232 MB / 409 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009033/0.1575, allocations: 3.029 MB / 412.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.1623, allocations: 1.812 MB / 413.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0137/0.176, allocations: 11.24 MB / 425.1 MB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0225/0.1985, allocations: 14.46 MB / 439.6 MB, free: 3.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007912/0.2064, allocations: 6.071 MB / 445.6 MB, free: 12.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009459/0.2159, allocations: 6.225 MB / 451.9 MB, free: 6.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002717/0.2186, allocations: 1.715 MB / 453.6 MB, free: 4.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.2229, allocations: 2.113 MB / 455.7 MB, free: 2.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003733/0.2267, allocations: 3.394 MB / 459.1 MB, free: 15.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008532/0.2352, allocations: 4.915 MB / 464 MB, free: 10.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2138/0.449, allocations: 23.25 MB / 487.3 MB, free: 40.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.449, allocations: 0 / 487.3 MB, free: 40.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.449, allocations: 1.062 kB / 487.3 MB, free: 40.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004557/0.4495, allocations: 0 / 487.3 MB, free: 40.35 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03707/0.4865, allocations: 13.54 MB / 0.4891 GB, free: 34.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4866, allocations: 14.89 kB / 0.4891 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.5208, allocations: 6.322 MB / 0.4953 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.535, allocations: 7.345 MB / 0.5024 GB, free: 28.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/0.5354, allocations: 0.7206 MB / 0.5031 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002693/0.5381, allocations: 0.9423 MB / 0.5041 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/0.5637, allocations: 16.28 MB / 0.5199 GB, free: 16.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002096/0.5639, allocations: 15.94 kB / 0.52 GB, free: 16.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.5651, allocations: 402.1 kB / 0.5203 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/0.5654, allocations: 0.5591 MB / 0.5209 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02385/0.5893, allocations: 15.04 MB / 0.5356 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/0.6697, allocations: 45.35 MB / 0.5799 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.6861, allocations: 8.514 MB / 0.5882 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00553/0.6916, allocations: 3.314 MB / 0.5914 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003457/0.692, allocations: 95.38 kB / 0.5915 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/0.692, allocations: 82.06 kB / 0.5916 GB, free: 7.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=447): time 7.353e-06/0.692, allocations: 0 / 0.5916 GB, free: 7.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=452): time 0.05286/0.7449, allocations: 20.28 MB / 0.6114 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.745, allocations: 102.6 kB / 0.6115 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007884/0.7529, allocations: 4.403 MB / 0.6158 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.7532, allocations: 97.7 kB / 0.6159 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003281/0.7565, allocations: 4.335 MB / 0.6201 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.758, allocations: 1.607 MB / 0.6217 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002127/0.7602, allocations: 1.196 MB / 0.6228 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7603, allocations: 305.1 kB / 0.6231 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004968/0.7653, allocations: 3.053 MB / 0.6261 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006759/0.772, allocations: 5.238 MB / 0.6312 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.7844, allocations: 8.848 MB / 0.6399 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.816e-05/0.7845, allocations: 20 kB / 0.6399 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01711/0.8016, allocations: 9.797 MB / 0.6495 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.8016, allocations: 32 kB / 0.6495 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.8018, allocations: 70.73 kB / 0.6496 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003868/0.8056, allocations: 1.369 MB / 0.6509 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/0.8107, allocations: 1.392 MB / 0.6523 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/0.8296, allocations: 12.05 MB / 0.664 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/0.8342, allocations: 363.7 kB / 0.6644 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009989/0.8352, allocations: 291.9 kB / 0.6646 GB, free: 11.72 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006858/0.842, allocations: 3.891 MB / 0.6684 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/0.8431, allocations: 469 kB / 0.6689 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2202/1.063, allocations: 8.409 MB / 0.6771 GB, free: 199.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.073, allocations: 6.18 MB / 0.6831 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.073, allocations: 11.47 kB / 0.6832 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.075e-05/1.073, allocations: 22.12 kB / 0.6832 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.095, allocations: 14.92 MB / 0.6977 GB, free: 194 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.095, allocations: 7.812 kB / 0.6977 GB, free: 194 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/1.098, allocations: 0.8091 MB / 0.6985 GB, free: 193.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003059/1.101, allocations: 1.25 MB / 0.6998 GB, free: 193.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/1.101, allocations: 99.5 kB / 0.6999 GB, free: 193.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/1.114, allocations: 10.99 MB / 0.7106 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.114, allocations: 11.81 kB / 0.7106 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.128, allocations: 11.11 MB / 0.7214 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/1.131, allocations: 1.028 MB / 0.7224 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005261/1.131, allocations: 87.28 kB / 0.7225 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.134, allocations: 241.9 kB / 0.7228 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006179/1.134, allocations: 344.9 kB / 0.7231 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002794/1.134, allocations: 137 kB / 0.7232 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003268/1.138, allocations: 2.942 MB / 0.7261 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.138, allocations: 0 / 0.7261 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004801/1.142, allocations: 1.72 MB / 0.7278 GB, free: 172.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (417): * Single equations (assignments): 414 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00171/1.144, allocations: 0.5593 MB / 0.7283 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00988/1.154, allocations: 7.645 MB / 0.7358 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.154, allocations: 0 / 0.7358 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005132/1.159, allocations: 3.671 MB / 0.7394 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/1.163, allocations: 0.9544 MB / 0.7403 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/1.186, allocations: 18.38 MB / 0.7582 GB, free: 142 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005113/1.191, allocations: 6.07 MB / 0.7642 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004631/1.195, allocations: 2.082 MB / 0.7662 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.196, allocations: 376.4 kB / 0.7666 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.196, allocations: 0 / 0.7666 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.09713/1.294, allocations: 65.9 MB / 0.8309 GB, free: 68.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.451276786974631]