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.001879/0.001879, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002086/0.002086, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.545/1.545, allocations: 230.5 MB / 258.1 MB, free: 7.809 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.003242/0.003242, allocations: 67.89 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3108, allocations: 53.4 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01746/0.3282, allocations: 12.48 MB / 444.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.339, allocations: 4.447 MB / 449.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.3417, allocations: 103.4 kB / 449.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003595/0.3453, allocations: 1.005 MB / 450.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005006/0.3503, allocations: 1.328 MB / 451.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.3533, allocations: 0.9197 MB / 452.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006494/0.3598, allocations: 4.141 MB / 456.8 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00375/0.3635, allocations: 1.723 MB / 458.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.3672, allocations: 1.974 MB / 460.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004227/0.3714, allocations: 2.094 MB / 462.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.3728, allocations: 0.5078 MB / 463.1 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.3755, allocations: 0.7146 MB / 463.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.3774, allocations: 1.126 MB / 465 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003906/0.3814, allocations: 1.688 MB / 466.7 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009649/0.391, allocations: 6.79 MB / 473.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.391, allocations: 0 / 473.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.391, allocations: 0 / 473.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002006/0.3912, allocations: 0 / 473.5 MB, free: 13.27 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.01353/0.4047, allocations: 4.436 MB / 477.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.4048, allocations: 15.98 kB / 477.9 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.4094, allocations: 0.8339 MB / 478.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006175/0.4156, allocations: 2.385 MB / 481.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002842/0.4159, allocations: 246.8 kB / 481.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.417, allocations: 323.9 kB / 481.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008847/0.4258, allocations: 4.421 MB / 486.1 MB, free: 424 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-05/0.4259, allocations: 7.891 kB / 486.1 MB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.4263, allocations: 136 kB / 486.2 MB, free: 280 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/0.4265, allocations: 150.4 kB / 486.4 MB, free: 128 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007101/0.4336, allocations: 3.598 MB / 490 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02409/0.4576, allocations: 11.84 MB / 0.4901 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006046/0.4637, allocations: 2.593 MB / 0.4926 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.4663, allocations: 1.281 MB / 0.4939 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007405/0.4737, allocations: 3.05 MB / 0.4968 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/0.4738, allocations: 47.81 kB / 0.4969 GB, free: 9.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 4.228e-06/0.4738, allocations: 0 / 0.4969 GB, free: 9.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01299/0.4868, allocations: 5.218 MB / 0.502 GB, free: 4.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4869, allocations: 68.66 kB / 0.502 GB, free: 4.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.4895, allocations: 1.612 MB / 0.5036 GB, free: 2.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.4897, allocations: 49.7 kB / 0.5037 GB, free: 2.414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.4909, allocations: 1.504 MB / 0.5051 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/0.4914, allocations: 0.4919 MB / 0.5056 GB, free: 412 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/0.4919, allocations: 323.4 kB / 0.5059 GB, free: 84 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4921, allocations: 301.1 kB / 0.5062 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.4933, allocations: 0.6754 MB / 0.5069 GB, free: 15.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.4949, allocations: 1.23 MB / 0.5081 GB, free: 13.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.498, allocations: 1.999 MB / 0.51 GB, free: 11.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.498, allocations: 8 kB / 0.51 GB, free: 11.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004726/0.5027, allocations: 2.461 MB / 0.5124 GB, free: 8.934 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.5027, allocations: 16.03 kB / 0.5124 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.5028, allocations: 16 kB / 0.5125 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.5038, allocations: 359.9 kB / 0.5128 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.5053, allocations: 375.4 kB / 0.5132 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008767/0.514, allocations: 7.82 MB / 0.5208 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.5157, allocations: 79.91 kB / 0.5209 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/0.516, allocations: 75.98 kB / 0.5209 GB, free: 15.79 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.002055/0.5181, allocations: 1.009 MB / 0.5219 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004593/0.5185, allocations: 186.8 kB / 0.5221 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/0.5228, allocations: 2.106 MB / 0.5242 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.5228, allocations: 16 kB / 0.5242 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.5229, allocations: 11.94 kB / 0.5242 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.5229, allocations: 11.91 kB / 0.5242 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/0.532, allocations: 4.208 MB / 0.5283 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.5321, allocations: 4 kB / 0.5283 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008557/0.5329, allocations: 171.8 kB / 0.5285 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.5345, allocations: 0.5321 MB / 0.529 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.5346, allocations: 39.98 kB / 0.529 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2557/0.7903, allocations: 12.34 MB / 0.5411 GB, free: 94.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.7904, allocations: 9.984 kB / 0.5411 GB, free: 94.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.7952, allocations: 3.047 MB / 0.5441 GB, free: 93.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.7964, allocations: 341.5 kB / 0.5444 GB, free: 93.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.7966, allocations: 33 kB / 0.5444 GB, free: 93.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/0.7975, allocations: 65.45 kB / 0.5445 GB, free: 93.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.7978, allocations: 118.8 kB / 0.5446 GB, free: 93.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/0.7979, allocations: 37.36 kB / 0.5446 GB, free: 93.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001664/0.7995, allocations: 1.075 MB / 0.5457 GB, free: 92.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7995, allocations: 4.062 kB / 0.5457 GB, free: 92.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002115/0.8016, allocations: 0.5838 MB / 0.5463 GB, free: 92.73 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.0003261/0.802, allocations: 177.5 kB / 0.5464 GB, free: 92.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00306/0.805, allocations: 2.215 MB / 0.5486 GB, free: 91.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.805, allocations: 1.531 kB / 0.5486 GB, free: 91.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.807, allocations: 1.677 MB / 0.5502 GB, free: 90.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.8089, allocations: 459.8 kB / 0.5507 GB, free: 90.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.8174, allocations: 5.881 MB / 0.5564 GB, free: 86.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.8189, allocations: 1.715 MB / 0.5581 GB, free: 85.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.8194, allocations: 134.8 kB / 0.5582 GB, free: 85.18 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.8194, allocations: 0 / 0.5582 GB, free: 85.18 MB / 446.1 MB Notification: Performance of Templates: time 0.1116/0.931, allocations: 129.5 MB / 0.6847 GB, free: 4.688 MB / 494.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/jenkins1/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/jenkins1/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: 13.734844289720058]