Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 116.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 373.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09656, allocations: 53.32 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1996/0.2962, allocations: 14.33 MB / 441.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.304, allocations: 4.695 MB / 446.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.3059, allocations: 84.19 kB / 446.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.3084, allocations: 1.065 MB / 447.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.3125, allocations: 1.341 MB / 448.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.3149, allocations: 0.9334 MB / 449.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.3205, allocations: 4.137 MB / 453.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.3236, allocations: 2.252 MB / 456 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.3267, allocations: 1.917 MB / 457.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.3303, allocations: 2.238 MB / 460.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000949/0.3313, allocations: 0.5087 MB / 460.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.333, allocations: 0.7328 MB / 461.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.3341, allocations: 1.129 MB / 462.5 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.3367, allocations: 2.143 MB / 464.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008662/0.3454, allocations: 6.765 MB / 471.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3454, allocations: 0 / 471.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3454, allocations: 0 / 471.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000196/0.3456, allocations: 0 / 471.4 MB, free: 2.004 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01301/0.3586, allocations: 4.524 MB / 476 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3586, allocations: 16.94 kB / 476 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.3633, allocations: 0.8239 MB / 476.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/0.3686, allocations: 2.472 MB / 479.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.3688, allocations: 239 kB / 479.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005503/0.3694, allocations: 323.9 kB / 479.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00834/0.3777, allocations: 4.28 MB / 484.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.372e-05/0.3778, allocations: 7.953 kB / 484.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003247/0.3781, allocations: 124 kB / 484.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.3783, allocations: 150.4 kB / 484.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00639/0.3847, allocations: 3.613 MB / 488 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02249/0.4072, allocations: 13.84 MB / 0.4901 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007382/0.4146, allocations: 6.528 MB / 0.4964 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.417, allocations: 1.292 MB / 0.4977 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007065/0.4241, allocations: 3.901 MB / 0.5015 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.4241, allocations: 43.88 kB / 0.5016 GB, free: 8.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.206e-06/0.4241, allocations: 0 / 0.5016 GB, free: 8.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01343/0.4375, allocations: 5.919 MB / 0.5073 GB, free: 2.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.4376, allocations: 72.7 kB / 0.5074 GB, free: 2.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003317/0.4409, allocations: 1.805 MB / 0.5092 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.441, allocations: 49.7 kB / 0.5092 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.4423, allocations: 1.482 MB / 0.5107 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.4427, allocations: 0.492 MB / 0.5112 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005414/0.4433, allocations: 323.4 kB / 0.5115 GB, free: 14.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4434, allocations: 301.1 kB / 0.5117 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.4446, allocations: 0.6871 MB / 0.5124 GB, free: 13.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.4462, allocations: 1.193 MB / 0.5136 GB, free: 12.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.4491, allocations: 2.014 MB / 0.5155 GB, free: 9.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4491, allocations: 7.938 kB / 0.5156 GB, free: 9.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004551/0.4537, allocations: 2.54 MB / 0.518 GB, free: 7.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.4537, allocations: 11.98 kB / 0.518 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.4537, allocations: 16 kB / 0.5181 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.4547, allocations: 372.3 kB / 0.5184 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.4561, allocations: 375.4 kB / 0.5188 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/0.4647, allocations: 8.405 MB / 0.527 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4665, allocations: 71.97 kB / 0.5271 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.4666, allocations: 83.97 kB / 0.5271 GB, free: 13.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001945/0.4686, allocations: 1.005 MB / 0.5281 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.4689, allocations: 210.6 kB / 0.5283 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.4731, allocations: 2.282 MB / 0.5305 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.4731, allocations: 12 kB / 0.5306 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.4731, allocations: 8 kB / 0.5306 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.4731, allocations: 11.97 kB / 0.5306 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00836/0.4815, allocations: 5.064 MB / 0.5355 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4815, allocations: 4.172 kB / 0.5355 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/0.4823, allocations: 172 kB / 0.5357 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.4837, allocations: 0.5411 MB / 0.5362 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/0.4838, allocations: 35.98 kB / 0.5363 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.4973, allocations: 13.25 MB / 0.5492 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4973, allocations: 4.031 kB / 0.5492 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.5028, allocations: 3.211 MB / 0.5523 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.5038, allocations: 435.7 kB / 0.5527 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.5041, allocations: 39.94 kB / 0.5528 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009293/0.505, allocations: 60.05 kB / 0.5528 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.5053, allocations: 109.1 kB / 0.5529 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.834e-05/0.5054, allocations: 39.98 kB / 0.553 GB, free: 1.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.5073, allocations: 1.236 MB / 0.5542 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5073, allocations: 0 / 0.5542 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002218/0.5095, allocations: 0.5859 MB / 0.5548 GB, free: 15.96 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003214/0.5098, allocations: 159 kB / 0.5549 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003673/0.5135, allocations: 2.286 MB / 0.5571 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5135, allocations: 3.938 kB / 0.5572 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.516, allocations: 1.684 MB / 0.5588 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.5184, allocations: 0.5633 MB / 0.5593 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.5285, allocations: 5.885 MB / 0.5651 GB, free: 5.176 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.5308, allocations: 2.315 MB / 0.5674 GB, free: 2.836 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001362/0.5321, allocations: 405.1 kB / 0.5677 GB, free: 2.438 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.5325, allocations: 131.4 kB / 0.5679 GB, free: 2.312 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5325, allocations: 0 / 0.5679 GB, free: 2.312 MB / 478.1 MB Notification: Performance of Templates: time 0.05872/0.5912, allocations: 31.03 MB / 0.5982 GB, free: 3.57 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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: 5.671789715997875]