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.001011/0.001011, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.001063/0.001063, allocations: 164.7 kB / 24.82 MB, free: 8.867 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.9606/0.9606, allocations: 177 MB / 205.1 MB, free: 5.465 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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|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.683e-06/1.683e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.436e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01172/0.01173, allocations: 13.68 MB / 287 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1166/0.1283, allocations: 4.578 MB / 291.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.1306, allocations: 103 kB / 291.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.1329, allocations: 1.015 MB / 292.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.1363, allocations: 1.372 MB / 294.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.138, allocations: 0.9284 MB / 295 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.142, allocations: 4.35 MB / 299.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.144, allocations: 1.74 MB / 301.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.1472, allocations: 3 MB / 304.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.1493, allocations: 1.907 MB / 306 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006719/0.15, allocations: 0.5027 MB / 306.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00088/0.1508, allocations: 0.713 MB / 307.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.1513, allocations: 1.152 MB / 308.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009263/0.1523, allocations: 1.461 MB / 309.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.1543, allocations: 3.454 MB / 313.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1543, allocations: 0 / 313.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1543, allocations: 0 / 313.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.349e-05/0.1543, allocations: 0 / 313.3 MB, free: 7.168 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.004104/0.1584, allocations: 4.544 MB / 317.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.1584, allocations: 15.98 kB / 317.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.1606, allocations: 1.165 MB / 319 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.1624, allocations: 2.247 MB / 321.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.1625, allocations: 245.9 kB / 321.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.1628, allocations: 328.9 kB / 321.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.1653, allocations: 2.386 MB / 324.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.108e-05/0.1654, allocations: 11.94 kB / 324.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.1655, allocations: 135.1 kB / 324.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.594e-05/0.1656, allocations: 151.5 kB / 324.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.167, allocations: 0.9511 MB / 325.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009956/0.177, allocations: 11.03 MB / 336.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.1793, allocations: 1.835 MB / 338.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/0.18, allocations: 0.6864 MB / 339 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/0.1825, allocations: 2.304 MB / 341.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1825, allocations: 50.7 kB / 341.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.134e-06/0.1825, allocations: 0 / 341.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.004166/0.1867, allocations: 2.954 MB / 344.3 MB, free: 9.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1867, allocations: 64.72 kB / 344.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.188, allocations: 1.392 MB / 345.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.1881, allocations: 49.7 kB / 345.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/0.1888, allocations: 1.608 MB / 347.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.189, allocations: 0.5098 MB / 347.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.1893, allocations: 342.4 kB / 348.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.1894, allocations: 484.7 kB / 348.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.1897, allocations: 187.8 kB / 348.9 MB, free: 4.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.1902, allocations: 0.966 MB / 349.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.1912, allocations: 1.271 MB / 351.2 MB, free: 1.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1912, allocations: 4 kB / 351.2 MB, free: 1.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001504/0.1927, allocations: 1.472 MB / 352.6 MB, free: 484 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.193, allocations: 12 kB / 352.7 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.193, allocations: 16 kB / 352.7 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/0.1935, allocations: 307.2 kB / 353 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.1942, allocations: 363.4 kB / 353.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.1983, allocations: 8.735 MB / 362.1 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.1988, allocations: 72.03 kB / 362.1 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.1988, allocations: 60 kB / 362.2 MB, free: 6.535 MB / 314.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.0004358/0.1993, allocations: 264 kB / 362.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.1995, allocations: 226.8 kB / 362.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.2009, allocations: 1.228 MB / 363.9 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2009, allocations: 16 kB / 363.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2009, allocations: 12 kB / 363.9 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.201, allocations: 7.969 kB / 363.9 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.204, allocations: 2.883 MB / 366.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.204, allocations: 0 / 366.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.2044, allocations: 160 kB / 367 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.2054, allocations: 462.4 kB / 367.4 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.2055, allocations: 35.98 kB / 367.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006365/0.2118, allocations: 13.54 MB / 381 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2118, allocations: 3.938 kB / 381 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.2138, allocations: 1.657 MB / 382.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.2141, allocations: 310.6 kB / 383 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.2143, allocations: 31.98 kB / 383 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.2146, allocations: 55.97 kB / 383.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2148, allocations: 117 kB / 383.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.2148, allocations: 27.98 kB / 383.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005349/0.2154, allocations: 0.7448 MB / 383.9 MB, free: 360 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2154, allocations: 4 kB / 383.9 MB, free: 356 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.00126/0.2166, allocations: 0.5743 MB / 384.5 MB, free: 15.77 MB / 346.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.0002228/0.2168, allocations: 167.1 kB / 384.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.2182, allocations: 1.672 MB / 386.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2182, allocations: 0 / 386.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.2193, allocations: 1.701 MB / 388.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.2204, allocations: 465.4 kB / 388.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.226, allocations: 5.04 MB / 393.5 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.2265, allocations: 0.7867 MB / 394.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000511/0.227, allocations: 235.7 kB / 394.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/0.2277, allocations: 0.5057 MB / 395.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2277, allocations: 0 / 395.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of Templates: time 0.03425/0.262, allocations: 29.6 MB / 424.7 MB, free: 7.891 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.446499053388834]