Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001434/0.001434, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001819/0.001819, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.026/2.026, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 51.92 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3885, allocations: 53.35 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0364/0.4249, allocations: 21.49 MB / 453.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.4454, allocations: 7.747 MB / 461.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004622/0.45, allocations: 210.9 kB / 461.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02285/0.4728, allocations: 7.831 MB / 469.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.4852, allocations: 3.097 MB / 472.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006389/0.4916, allocations: 1.819 MB / 474.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01878/0.5104, allocations: 11.35 MB / 485.9 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03058/0.541, allocations: 14.66 MB / 0.4889 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.5519, allocations: 6.083 MB / 0.4948 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.565, allocations: 6.565 MB / 0.5012 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004836/0.5699, allocations: 1.715 MB / 0.5029 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006998/0.5769, allocations: 2.148 MB / 0.505 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006763/0.5836, allocations: 3.406 MB / 0.5083 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01148/0.5951, allocations: 4.911 MB / 0.5131 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03682/0.6319, allocations: 23.28 MB / 0.5358 GB, free: 1.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.6319, allocations: 4 kB / 0.5358 GB, free: 1.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6319, allocations: 0 / 0.5358 GB, free: 1.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006144/0.6325, allocations: 3.938 kB / 0.5358 GB, free: 1.938 MB / 446.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.6503/1.283, allocations: 13.56 MB / 0.5491 GB, free: 88.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.283, allocations: 12.03 kB / 0.5491 GB, free: 88.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04796/1.331, allocations: 6.255 MB / 0.5552 GB, free: 82.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01911/1.35, allocations: 7.365 MB / 0.5624 GB, free: 75.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/1.351, allocations: 0.7182 MB / 0.5631 GB, free: 74.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004049/1.355, allocations: 0.9445 MB / 0.564 GB, free: 73.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04074/1.395, allocations: 16.31 MB / 0.5799 GB, free: 57.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003703/1.396, allocations: 23.89 kB / 0.58 GB, free: 57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002841/1.399, allocations: 403.3 kB / 0.5804 GB, free: 56.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005744/1.399, allocations: 0.5591 MB / 0.5809 GB, free: 56.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06576/1.465, allocations: 15.07 MB / 0.5956 GB, free: 40.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/1.567, allocations: 45.4 MB / 0.64 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02313/1.59, allocations: 8.555 MB / 0.6483 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009057/1.599, allocations: 3.301 MB / 0.6515 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/1.6, allocations: 115.4 kB / 0.6516 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/1.6, allocations: 82.06 kB / 0.6517 GB, free: 15.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 1.585e-05/1.6, allocations: 0 / 0.6517 GB, free: 15.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.1191/1.719, allocations: 20.34 MB / 0.6716 GB, free: 11.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.719, allocations: 102.9 kB / 0.6717 GB, free: 11.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/1.731, allocations: 4.424 MB / 0.676 GB, free: 6.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001164/1.732, allocations: 93.7 kB / 0.6761 GB, free: 6.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006136/1.738, allocations: 4.344 MB / 0.6803 GB, free: 2.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003557/1.742, allocations: 1.615 MB / 0.6819 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003928/1.746, allocations: 1.204 MB / 0.6831 GB, free: 15.3 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.746, allocations: 309.1 kB / 0.6834 GB, free: 15 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009553/1.756, allocations: 3.057 MB / 0.6864 GB, free: 11.93 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/1.77, allocations: 5.239 MB / 0.6915 GB, free: 5.715 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02566/1.795, allocations: 8.868 MB / 0.7001 GB, free: 11.88 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/1.796, allocations: 20 kB / 0.7002 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03588/1.831, allocations: 9.826 MB / 0.7098 GB, free: 2.008 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.831, allocations: 32 kB / 0.7098 GB, free: 1.977 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/1.832, allocations: 72 kB / 0.7099 GB, free: 1.906 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007446/1.839, allocations: 1.375 MB / 0.7112 GB, free: 0.5273 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/1.851, allocations: 1.388 MB / 0.7126 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03374/1.884, allocations: 12.05 MB / 0.7243 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008669/1.893, allocations: 355.6 kB / 0.7247 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.895, allocations: 296 kB / 0.725 GB, free: 2.219 MB / 0.5294 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.01134/1.906, allocations: 3.888 MB / 0.7287 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/1.908, allocations: 469 kB / 0.7292 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/1.933, allocations: 8.419 MB / 0.7374 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.461/2.394, allocations: 6.192 MB / 0.7435 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.262e-05/2.394, allocations: 19.84 kB / 0.7435 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00017/2.394, allocations: 22.45 kB / 0.7435 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03851/2.432, allocations: 14.96 MB / 0.7581 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/2.432, allocations: 7.594 kB / 0.7581 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004808/2.437, allocations: 0.8122 MB / 0.7589 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004835/2.442, allocations: 1.245 MB / 0.7601 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000746/2.443, allocations: 110.8 kB / 0.7602 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/2.462, allocations: 10.97 MB / 0.7709 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/2.462, allocations: 11.5 kB / 0.771 GB, free: 166.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/2.485, allocations: 11.14 MB / 0.7818 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0046/2.49, allocations: 1.041 MB / 0.7829 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/2.492, allocations: 92 kB / 0.7829 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004843/2.497, allocations: 230.3 kB / 0.7832 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/2.498, allocations: 352.3 kB / 0.7835 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007294/2.499, allocations: 142.9 kB / 0.7836 GB, free: 158.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007143/2.506, allocations: 2.945 MB / 0.7865 GB, free: 156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/2.506, allocations: 0 / 0.7865 GB, free: 156 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009904/2.516, allocations: 1.72 MB / 0.7882 GB, free: 154.3 MB / 0.545 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.002837/2.519, allocations: 0.5468 MB / 0.7887 GB, free: 154 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01763/2.536, allocations: 7.672 MB / 0.7962 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/2.536, allocations: 0 / 0.7962 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009583/2.546, allocations: 3.682 MB / 0.7998 GB, free: 143.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007992/2.554, allocations: 0.9652 MB / 0.8008 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/2.594, allocations: 18.31 MB / 0.8186 GB, free: 123.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00996/2.604, allocations: 6.071 MB / 0.8246 GB, free: 117.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007912/2.612, allocations: 2.09 MB / 0.8266 GB, free: 115.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/2.614, allocations: 387.3 kB / 0.827 GB, free: 115.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/2.614, allocations: 0 / 0.827 GB, free: 115.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1778/2.791, allocations: 79.5 MB / 0.9046 GB, free: 36.38 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.790923106003902]