Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.002593/0.002593, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002482/0.002482, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 18.57 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.505/1.505, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.647e-05, allocations: 6.25 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01892/0.01895, allocations: 13.43 MB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009355/0.0283, allocations: 4.333 MB / 285.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.03017, allocations: 99.44 kB / 285.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.03298, allocations: 1.005 MB / 286.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.0373, allocations: 1.382 MB / 287.6 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.03954, allocations: 0.8873 MB / 288.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1309/0.1705, allocations: 4.263 MB / 292.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004221/0.1747, allocations: 1.736 MB / 294.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0077/0.1824, allocations: 2.868 MB / 297.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/0.1882, allocations: 1.924 MB / 299.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002246/0.1904, allocations: 0.5103 MB / 299.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00375/0.1941, allocations: 0.694 MB / 300.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002217/0.1964, allocations: 1.159 MB / 301.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003916/0.2003, allocations: 1.465 MB / 303.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.2103, allocations: 6.817 MB / 309.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2103, allocations: 0 / 309.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2103, allocations: 0 / 309.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002063/0.2105, allocations: 0 / 309.9 MB, free: 10.08 MB / 266.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.01822/0.2287, allocations: 5.034 MB / 315 MB, free: 6.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.2288, allocations: 11.58 kB / 315 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008938/0.2377, allocations: 1.254 MB / 316.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007526/0.2453, allocations: 2.335 MB / 318.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003573/0.2456, allocations: 238.8 kB / 318.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.247, allocations: 334.9 kB / 319.1 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.2595, allocations: 4.508 MB / 323.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-05/0.2596, allocations: 0 / 323.6 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.26, allocations: 135.9 kB / 323.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.2602, allocations: 146.4 kB / 323.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007048/0.2672, allocations: 3.226 MB / 327.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03597/0.3032, allocations: 21.77 MB / 348.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005644/0.3088, allocations: 2.407 MB / 351.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.3114, allocations: 1.173 MB / 352.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007448/0.3188, allocations: 3.109 MB / 355.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/0.3189, allocations: 50.7 kB / 355.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=134): time 4.388e-06/0.3189, allocations: 0 / 355.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=137): time 0.01224/0.3311, allocations: 4.628 MB / 360.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3312, allocations: 68.72 kB / 360.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/0.3346, allocations: 2.041 MB / 362.4 MB, free: 6.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.3348, allocations: 53.64 kB / 362.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/0.3367, allocations: 1.697 MB / 364.1 MB, free: 5.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006449/0.3374, allocations: 0.5522 MB / 364.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007046/0.3381, allocations: 417.1 kB / 365.1 MB, free: 4.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.3383, allocations: 480.7 kB / 365.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3394, allocations: 0.5349 MB / 366.1 MB, free: 3.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.3414, allocations: 1.374 MB / 367.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.3447, allocations: 2.061 MB / 369.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.3447, allocations: 4 kB / 369.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004512/0.3492, allocations: 2.249 MB / 371.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.3493, allocations: 12.62 kB / 371.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.3493, allocations: 16 kB / 371.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.3506, allocations: 405.5 kB / 372.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.3521, allocations: 380.4 kB / 372.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.3625, allocations: 9.756 MB / 382.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.3638, allocations: 76.02 kB / 382.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.364, allocations: 79.98 kB / 382.5 MB, free: 1.844 MB / 330.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.001798/0.3658, allocations: 0.9198 MB / 383.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.3662, allocations: 231.4 kB / 383.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.3706, allocations: 1.844 MB / 385.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3706, allocations: 12 kB / 385.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.3707, allocations: 8 kB / 385.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.3707, allocations: 7.969 kB / 385.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009847/0.3805, allocations: 4.966 MB / 390.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.3805, allocations: 4 kB / 390.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008743/0.3814, allocations: 174.1 kB / 390.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/0.3836, allocations: 0.601 MB / 391.2 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.3837, allocations: 39.92 kB / 391.3 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/0.4009, allocations: 15.46 MB / 406.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4009, allocations: 0 / 406.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.4065, allocations: 2.7 MB / 409.4 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009991/0.4075, allocations: 322.7 kB / 409.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.4077, allocations: 32 kB / 409.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008697/0.4086, allocations: 67.94 kB / 409.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.4089, allocations: 109 kB / 410 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.409, allocations: 43.73 kB / 410 MB, free: 5.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002036/0.411, allocations: 1.16 MB / 411.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.411, allocations: 4 kB / 411.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002292/0.4133, allocations: 0.5742 MB / 411.7 MB, free: 3.875 MB / 362.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.0003643/0.4137, allocations: 164.1 kB / 411.9 MB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00435/0.418, allocations: 2.341 MB / 414.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.418, allocations: 0 / 414.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003191/0.4212, allocations: 2.017 MB / 416.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.4234, allocations: 458.1 kB / 416.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4336, allocations: 5.481 MB / 422.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/0.4358, allocations: 1.645 MB / 423.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.437, allocations: 327.3 kB / 424.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.4373, allocations: 120 kB / 424.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.814e-06/0.4373, allocations: 4 kB / 424.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of Templates: time 0.148/0.5853, allocations: 27.43 MB / 451.7 MB, free: 111.2 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.95979944197461]