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.00137/0.00137, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001503/0.001503, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.488/1.488, allocations: 230.3 MB / 258 MB, free: 8.238 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.002118/0.002118, allocations: 63.89 kB / 378.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2328, allocations: 53.36 MB / 432.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01808/0.2509, allocations: 14.39 MB / 446.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.2605, allocations: 4.704 MB / 451.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.2627, allocations: 107.4 kB / 451.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.2656, allocations: 1.06 MB / 452.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.2697, allocations: 1.355 MB / 453.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.272, allocations: 0.9563 MB / 454.7 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005358/0.2773, allocations: 4.145 MB / 458.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.28, allocations: 1.809 MB / 460.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.283, allocations: 1.955 MB / 462.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/0.2865, allocations: 2.242 MB / 464.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.2876, allocations: 0.5078 MB / 465.4 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.2899, allocations: 0.7419 MB / 466.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.2912, allocations: 1.126 MB / 467.2 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003089/0.2943, allocations: 2.151 MB / 469.4 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009171/0.3034, allocations: 6.77 MB / 476.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3035, allocations: 0 / 476.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3035, allocations: 0 / 476.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000161/0.3036, allocations: 0 / 476.2 MB, free: 10.8 MB / 382.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.01269/0.3163, allocations: 4.45 MB / 480.6 MB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3163, allocations: 8.031 kB / 480.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/0.3209, allocations: 0.8339 MB / 481.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/0.3264, allocations: 2.4 MB / 483.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.3266, allocations: 242.8 kB / 484.1 MB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008732/0.3275, allocations: 323.9 kB / 484.4 MB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008797/0.3363, allocations: 4.274 MB / 488.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.15e-05/0.3364, allocations: 7.891 kB / 488.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/0.3367, allocations: 128 kB / 488.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.3369, allocations: 150.4 kB / 489 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007044/0.3439, allocations: 3.605 MB / 492.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02325/0.3672, allocations: 13.51 MB / 0.4942 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005555/0.3727, allocations: 2.605 MB / 0.4968 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002478/0.3752, allocations: 1.288 MB / 0.498 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00662/0.3818, allocations: 3.419 MB / 0.5014 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.3819, allocations: 47.81 kB / 0.5014 GB, free: 5.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.907e-06/0.3819, allocations: 0 / 0.5014 GB, free: 5.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01248/0.3943, allocations: 5.245 MB / 0.5065 GB, free: 15.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3944, allocations: 68.72 kB / 0.5066 GB, free: 15.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.3973, allocations: 1.805 MB / 0.5084 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.3975, allocations: 53.7 kB / 0.5084 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.3987, allocations: 1.482 MB / 0.5099 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/0.3992, allocations: 499.8 kB / 0.5103 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.3998, allocations: 331.4 kB / 0.5106 GB, free: 11.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3999, allocations: 305.1 kB / 0.5109 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.4015, allocations: 0.6832 MB / 0.5116 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.4031, allocations: 1.193 MB / 0.5128 GB, free: 9.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003037/0.4062, allocations: 2.003 MB / 0.5147 GB, free: 6.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.4062, allocations: 4 kB / 0.5147 GB, free: 6.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004681/0.4109, allocations: 2.472 MB / 0.5171 GB, free: 4.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4109, allocations: 12 kB / 0.5172 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.4109, allocations: 16 kB / 0.5172 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.412, allocations: 364.3 kB / 0.5175 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.4135, allocations: 379.4 kB / 0.5179 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/0.4221, allocations: 7.985 MB / 0.5257 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4236, allocations: 79.91 kB / 0.5258 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.4238, allocations: 79.98 kB / 0.5258 GB, free: 11.02 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.001774/0.4255, allocations: 1.001 MB / 0.5268 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.4259, allocations: 210.6 kB / 0.527 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.4303, allocations: 2.12 MB / 0.5291 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4303, allocations: 12 kB / 0.5291 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4303, allocations: 11.94 kB / 0.5291 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.4303, allocations: 3.984 kB / 0.5291 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008984/0.4393, allocations: 4.904 MB / 0.5339 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4393, allocations: 0 / 0.5339 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/0.4402, allocations: 175.8 kB / 0.5341 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.4417, allocations: 0.5283 MB / 0.5346 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.4418, allocations: 43.98 kB / 0.5346 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2121/0.654, allocations: 12.6 MB / 0.5469 GB, free: 89.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.654, allocations: 8.219 kB / 0.5469 GB, free: 89.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.6587, allocations: 3.07 MB / 0.5499 GB, free: 88.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008455/0.6595, allocations: 364.3 kB / 0.5503 GB, free: 88.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.6598, allocations: 30.56 kB / 0.5503 GB, free: 88.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/0.6607, allocations: 72.28 kB / 0.5504 GB, free: 88.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.6609, allocations: 113.8 kB / 0.5505 GB, free: 88.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/0.661, allocations: 43.3 kB / 0.5505 GB, free: 88.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.6625, allocations: 1.238 MB / 0.5517 GB, free: 87.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6625, allocations: 0 / 0.5517 GB, free: 87.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001827/0.6643, allocations: 0.5844 MB / 0.5523 GB, free: 87.58 MB / 446.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.0002737/0.6646, allocations: 167.1 kB / 0.5525 GB, free: 87.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.6674, allocations: 2.211 MB / 0.5546 GB, free: 86.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6674, allocations: 0 / 0.5546 GB, free: 86.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.6694, allocations: 1.681 MB / 0.5563 GB, free: 85.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.6714, allocations: 0.5521 MB / 0.5568 GB, free: 85.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00798/0.6794, allocations: 5.945 MB / 0.5626 GB, free: 82.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.6809, allocations: 2.312 MB / 0.5649 GB, free: 80.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001195/0.6821, allocations: 405.2 kB / 0.5653 GB, free: 79.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.6824, allocations: 125.9 kB / 0.5654 GB, free: 79.87 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6824, allocations: 0 / 0.5654 GB, free: 79.87 MB / 446.1 MB Notification: Performance of Templates: time 0.04536/0.7278, allocations: 32.07 MB / 0.5967 GB, free: 48.5 MB / 446.1 MB " [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: 6.007576783187687]