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.001263/0.001263, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005637/0.005637, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8721/0.8721, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.303e-05, allocations: 3.125 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01123/0.01126, allocations: 12.5 MB / 338.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009122/0.02038, allocations: 4.454 MB / 342.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.02319, allocations: 103.4 kB / 342.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.02624, allocations: 1.013 MB / 343.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004753/0.03099, allocations: 1.358 MB / 345.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.03315, allocations: 0.9307 MB / 346.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00537/0.03852, allocations: 4.346 MB / 350.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.04136, allocations: 1.73 MB / 352.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.04579, allocations: 2.87 MB / 355.1 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.04814, allocations: 1.757 MB / 356.9 MB, free: 88 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006789/0.04882, allocations: 0.5079 MB / 357.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.05006, allocations: 0.7182 MB / 358.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006775/0.05074, allocations: 1.145 MB / 359.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.0524, allocations: 1.446 MB / 360.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006433/0.05883, allocations: 6.817 MB / 367.5 MB, free: 5.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.05884, allocations: 4 kB / 367.5 MB, free: 5.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.05884, allocations: 3.938 kB / 367.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001626/0.059, allocations: 0 / 367.5 MB, free: 5.418 MB / 330.7 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.009191/0.06819, allocations: 4.404 MB / 371.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.06824, allocations: 11.98 kB / 371.9 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.07061, allocations: 0.83 MB / 372.8 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003538/0.07415, allocations: 2.38 MB / 375.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.07429, allocations: 250.8 kB / 375.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007755/0.07507, allocations: 316.3 kB / 375.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005559/0.08063, allocations: 4.429 MB / 380.1 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-05/0.08069, allocations: 11.88 kB / 380.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.0809, allocations: 132 kB / 380.3 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.081, allocations: 150.4 kB / 380.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.08596, allocations: 3.59 MB / 384 MB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.1002, allocations: 11.85 MB / 395.8 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.1035, allocations: 2.594 MB / 398.4 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.1048, allocations: 1.285 MB / 399.7 MB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00377/0.1086, allocations: 3.05 MB / 402.8 MB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1086, allocations: 47.81 kB / 402.8 MB, free: 1.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 3.827e-06/0.1086, allocations: 0 / 402.8 MB, free: 1.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.007664/0.1163, allocations: 5.222 MB / 408 MB, free: 12.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1163, allocations: 64.72 kB / 408.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.1181, allocations: 1.62 MB / 409.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/0.1182, allocations: 45.7 kB / 409.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006836/0.1189, allocations: 1.504 MB / 411.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/0.1193, allocations: 499.7 kB / 411.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.1196, allocations: 315.5 kB / 412.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.1197, allocations: 305.1 kB / 412.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.1205, allocations: 0.6793 MB / 413 MB, free: 7.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000973/0.1214, allocations: 1.222 MB / 414.3 MB, free: 5.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.1232, allocations: 2.007 MB / 416.3 MB, free: 3.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.1232, allocations: 4 kB / 416.3 MB, free: 3.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003074/0.1263, allocations: 2.453 MB / 418.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.1263, allocations: 12 kB / 418.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.1264, allocations: 16 kB / 418.8 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.127, allocations: 371.6 kB / 419.1 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.1278, allocations: 375.4 kB / 419.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.1331, allocations: 7.805 MB / 427.3 MB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.1344, allocations: 83.91 kB / 427.4 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.1345, allocations: 80.08 kB / 427.5 MB, free: 7.992 MB / 394.7 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.001809/0.1363, allocations: 1.009 MB / 428.5 MB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.1367, allocations: 182.8 kB / 428.6 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.1392, allocations: 2.106 MB / 430.8 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1392, allocations: 12 kB / 430.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.1392, allocations: 12 kB / 430.8 MB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.1392, allocations: 7.969 kB / 430.8 MB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/0.1445, allocations: 4.201 MB / 435 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1445, allocations: 0 / 435 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.1449, allocations: 176 kB / 435.2 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008617/0.1458, allocations: 0.542 MB / 435.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.1459, allocations: 35.98 kB / 435.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007805/0.1537, allocations: 12.34 MB / 448.1 MB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1537, allocations: 4.344 kB / 448.1 MB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1611/0.3148, allocations: 3.042 MB / 451.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000995/0.3158, allocations: 347 kB / 451.5 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.316, allocations: 31.66 kB / 451.5 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.3166, allocations: 66.28 kB / 451.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/0.3169, allocations: 113 kB / 451.7 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/0.3169, allocations: 37.5 kB / 451.7 MB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001439/0.3184, allocations: 1.08 MB / 452.8 MB, free: 110.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3184, allocations: 3.281 kB / 452.8 MB, free: 110.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001647/0.32, allocations: 0.5774 MB / 453.4 MB, free: 110.3 MB / 410.7 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.000303/0.3203, allocations: 175.3 kB / 453.5 MB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3225, allocations: 2.206 MB / 455.7 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3225, allocations: 1.688 kB / 455.7 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.3237, allocations: 1.671 MB / 457.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3248, allocations: 473.5 kB / 457.9 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.3307, allocations: 5.65 MB / 463.5 MB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.3317, allocations: 1.707 MB / 465.2 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.332, allocations: 136.3 kB / 465.4 MB, free: 104.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.332, allocations: 0 / 465.4 MB, free: 104.7 MB / 410.7 MB Notification: Performance of Templates: time 0.06912/0.4012, allocations: 129.6 MB / 0.581 GB, free: 8.418 MB / 442.7 MB " [Timeout remaining time 660] 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: 9.864569424651563]