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_Characteristics.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.001576/0.001576, allocations: 80.33 kB / 20.49 MB, free: 1.211 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.001614/0.001614, allocations: 144.1 kB / 23.73 MB, free: 4.25 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.387/1.387, allocations: 173.4 MB / 200.3 MB, free: 12.98 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.05 kB / 318.7 MB, free: 3.645 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.09883, allocations: 52.17 MB / 370.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02598/0.1248, allocations: 21.33 MB / 392.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.141, allocations: 7.088 MB / 399.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005275/0.1463, allocations: 222.9 kB / 399.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0225/0.1688, allocations: 8.644 MB / 408.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.1808, allocations: 2.961 MB / 411.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.1867, allocations: 1.695 MB / 412.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01508/0.2018, allocations: 10.84 MB / 423.6 MB, free: 2.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02902/0.2308, allocations: 14.16 MB / 437.8 MB, free: 4.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01925/0.25, allocations: 8.877 MB / 446.7 MB, free: 11.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/0.2618, allocations: 6.027 MB / 452.7 MB, free: 5.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004823/0.2667, allocations: 1.668 MB / 454.4 MB, free: 3.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00666/0.2733, allocations: 2.019 MB / 456.4 MB, free: 1.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005518/0.2788, allocations: 3.172 MB / 459.6 MB, free: 14.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.2893, allocations: 4.705 MB / 464.3 MB, free: 9.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.261/0.5503, allocations: 22.46 MB / 486.7 MB, free: 42.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.5503, allocations: 0 / 486.7 MB, free: 42.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5503, allocations: 0 / 486.7 MB, free: 42.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008781/0.5512, allocations: 1 kB / 486.7 MB, free: 42.43 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04646/0.5977, allocations: 12.87 MB / 499.6 MB, free: 37.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5977, allocations: 10.42 kB / 499.6 MB, free: 37.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03511/0.6328, allocations: 6.253 MB / 0.494 GB, free: 34.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/0.6501, allocations: 6.993 MB / 0.5008 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000644/0.6508, allocations: 0.7036 MB / 0.5015 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005937/0.6567, allocations: 0.9211 MB / 0.5024 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03565/0.6924, allocations: 15.89 MB / 0.5179 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/0.6926, allocations: 10.47 kB / 0.5179 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/0.6938, allocations: 393 kB / 0.5183 GB, free: 18.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004135/0.6942, allocations: 0.5546 MB / 0.5188 GB, free: 18.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/0.7202, allocations: 14.71 MB / 0.5332 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0955/0.8157, allocations: 44.01 MB / 0.5762 GB, free: 7.316 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01856/0.8342, allocations: 9.172 MB / 0.5851 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005385/0.8396, allocations: 2.915 MB / 0.588 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/0.84, allocations: 75.08 kB / 0.5881 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.201e-05/0.8401, allocations: 77.69 kB / 0.5881 GB, free: 12.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=398): time 6.973e-06/0.8401, allocations: 0 / 0.5881 GB, free: 12.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=404): time 0.04244/0.8826, allocations: 17.03 MB / 0.6048 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.8826, allocations: 90.58 kB / 0.6049 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007819/0.8905, allocations: 3.584 MB / 0.6084 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003452/0.8908, allocations: 93.55 kB / 0.6084 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0034/0.8942, allocations: 4.135 MB / 0.6125 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.8958, allocations: 1.45 MB / 0.6139 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002465/0.8982, allocations: 1.14 MB / 0.615 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8984, allocations: 309.1 kB / 0.6153 GB, free: 380 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005018/0.9034, allocations: 2.787 MB / 0.618 GB, free: 13.58 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006835/0.9102, allocations: 4.972 MB / 0.6229 GB, free: 7.637 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.9223, allocations: 8.294 MB / 0.631 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.984e-05/0.9224, allocations: 20 kB / 0.631 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01922/0.9416, allocations: 9.033 MB / 0.6398 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.9417, allocations: 32.62 kB / 0.6399 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/0.9419, allocations: 72 kB / 0.6399 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/0.9455, allocations: 1.186 MB / 0.6411 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005086/0.9505, allocations: 1.325 MB / 0.6424 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.9669, allocations: 9.463 MB / 0.6516 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/0.9714, allocations: 331.6 kB / 0.6519 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/0.9724, allocations: 288 kB / 0.6522 GB, free: 9.375 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008013/0.9804, allocations: 3.705 MB / 0.6558 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.9817, allocations: 401.4 kB / 0.6562 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.9957, allocations: 6.617 MB / 0.6627 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01037/1.006, allocations: 5.525 MB / 0.6681 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/1.006, allocations: 19.88 kB / 0.6681 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.456e-05/1.006, allocations: 19.92 kB / 0.6681 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2629/1.269, allocations: 13.43 MB / 0.6812 GB, free: 200.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.269, allocations: 7.188 kB / 0.6812 GB, free: 200.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/1.272, allocations: 0.7214 MB / 0.6819 GB, free: 200.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/1.275, allocations: 1.073 MB / 0.683 GB, free: 200.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/1.275, allocations: 93.84 kB / 0.6831 GB, free: 200.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.286, allocations: 8.409 MB / 0.6913 GB, free: 197.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.286, allocations: 11.06 kB / 0.6913 GB, free: 197.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/1.303, allocations: 9.762 MB / 0.7008 GB, free: 193.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/1.306, allocations: 0.8937 MB / 0.7017 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.308, allocations: 81.84 kB / 0.7018 GB, free: 193.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0036/1.311, allocations: 202 kB / 0.702 GB, free: 193.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009295/1.312, allocations: 301.8 kB / 0.7023 GB, free: 193.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003741/1.312, allocations: 118.9 kB / 0.7024 GB, free: 193.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00516/1.318, allocations: 2.325 MB / 0.7046 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.4e-07/1.318, allocations: 0 / 0.7046 GB, free: 192.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009051/1.327, allocations: 1.6 MB / 0.7062 GB, free: 192.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/1.328, allocations: 293.1 kB / 0.7065 GB, free: 192 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01405/1.342, allocations: 6.837 MB / 0.7132 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.342, allocations: 0 / 0.7132 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.347, allocations: 3.151 MB / 0.7162 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.352, allocations: 0.8715 MB / 0.7171 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/1.374, allocations: 16.72 MB / 0.7334 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004758/1.379, allocations: 5.736 MB / 0.739 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004116/1.383, allocations: 1.891 MB / 0.7409 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008409/1.384, allocations: 339.3 kB / 0.7412 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.011e-06/1.384, allocations: 0 / 0.7412 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.0884/1.472, allocations: 59.86 MB / 0.7996 GB, free: 102.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.625518828630447]