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.00242/0.00242, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002491/0.002491, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.532/1.532, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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 1.173e-06/1.173e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.362e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01964/0.01967, allocations: 14.04 MB / 286.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1241/0.1437, allocations: 4.589 MB / 290.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.1463, allocations: 102.7 kB / 291 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.1498, allocations: 1.015 MB / 292 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.1543, allocations: 1.371 MB / 293.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.1567, allocations: 0.9411 MB / 294.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005131/0.1618, allocations: 4.337 MB / 298.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.1642, allocations: 1.74 MB / 300.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.1683, allocations: 2.891 MB / 303.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.1708, allocations: 1.927 MB / 305.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006951/0.1715, allocations: 0.508 MB / 305.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.1729, allocations: 0.7158 MB / 306.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007138/0.1736, allocations: 1.165 MB / 307.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.1751, allocations: 1.465 MB / 309 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.1803, allocations: 6.862 MB / 315.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1803, allocations: 0 / 315.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1803, allocations: 4 kB / 315.9 MB, free: 4.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.549e-05/0.1803, allocations: 0 / 315.9 MB, free: 4.039 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.009997/0.1903, allocations: 5.07 MB / 321 MB, free: 14.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1904, allocations: 11.98 kB / 321 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.1954, allocations: 1.24 MB / 322.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004945/0.2004, allocations: 2.356 MB / 324.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.2006, allocations: 245.8 kB / 324.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/0.2011, allocations: 328.3 kB / 325.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008571/0.2097, allocations: 4.519 MB / 329.6 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.849e-05/0.2098, allocations: 4 kB / 329.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/0.2101, allocations: 133.5 kB / 329.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001778/0.2103, allocations: 149.9 kB / 329.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006432/0.2167, allocations: 3.222 MB / 333.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03386/0.2506, allocations: 21.91 MB / 355.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.2561, allocations: 2.432 MB / 357.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.2585, allocations: 1.188 MB / 358.7 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00685/0.2654, allocations: 3.149 MB / 361.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.2654, allocations: 46.7 kB / 361.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=134): time 3.006e-06/0.2654, allocations: 0 / 361.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=137): time 0.01187/0.2773, allocations: 4.663 MB / 366.5 MB, free: 464 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.2774, allocations: 68.72 kB / 366.6 MB, free: 380 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.2806, allocations: 2.062 MB / 368.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.2808, allocations: 57.69 kB / 368.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.2824, allocations: 1.693 MB / 370.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005905/0.283, allocations: 0.5518 MB / 371 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006809/0.2837, allocations: 421.1 kB / 371.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.2839, allocations: 484.7 kB / 371.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.285, allocations: 0.5427 MB / 372.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.2869, allocations: 1.377 MB / 373.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.2901, allocations: 2.057 MB / 375.8 MB, free: 6.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.2901, allocations: 8 kB / 375.8 MB, free: 6.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004502/0.2946, allocations: 2.26 MB / 378.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.2947, allocations: 12 kB / 378.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.2947, allocations: 16 kB / 378.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.296, allocations: 401.3 kB / 378.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.2975, allocations: 367.4 kB / 378.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.3077, allocations: 9.759 MB / 388.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.3092, allocations: 75.92 kB / 388.7 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.3093, allocations: 75.98 kB / 388.8 MB, free: 9.129 MB / 346.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.001817/0.3111, allocations: 0.9294 MB / 389.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/0.3115, allocations: 230.8 kB / 389.9 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/0.3157, allocations: 1.848 MB / 391.8 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.3157, allocations: 12 kB / 391.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.3157, allocations: 8 kB / 391.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3157, allocations: 11.97 kB / 391.8 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009694/0.3254, allocations: 4.983 MB / 396.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3254, allocations: 4 kB / 396.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/0.3263, allocations: 167.8 kB / 397 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/0.3283, allocations: 0.6067 MB / 397.6 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.3284, allocations: 43.86 kB / 397.6 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01669/0.3451, allocations: 15.49 MB / 413.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3451, allocations: 4 kB / 413.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005502/0.3506, allocations: 2.7 MB / 415.8 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.3517, allocations: 326.7 kB / 416.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.3519, allocations: 28 kB / 416.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.3528, allocations: 59.95 kB / 416.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.3531, allocations: 121 kB / 416.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/0.3532, allocations: 39.98 kB / 416.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002163/0.3553, allocations: 1.176 MB / 417.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 0 / 417.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002537/0.3579, allocations: 0.582 MB / 418.1 MB, free: 10.87 MB / 378.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.0003701/0.3582, allocations: 170.4 kB / 418.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004224/0.3625, allocations: 2.343 MB / 420.6 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3625, allocations: 0 / 420.6 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003104/0.3656, allocations: 2.004 MB / 422.6 MB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.368, allocations: 475.9 kB / 423.1 MB, free: 5.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3784, allocations: 5.492 MB / 428.6 MB, free: 164 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1144/0.4928, allocations: 1.649 MB / 430.2 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00126/0.494, allocations: 332.8 kB / 430.6 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.4944, allocations: 118.8 kB / 430.7 MB, free: 112.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4944, allocations: 1.094 kB / 430.7 MB, free: 112.4 MB / 378.7 MB Notification: Performance of Templates: time 0.04086/0.5352, allocations: 27.88 MB / 458.6 MB, free: 100.8 MB / 378.7 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=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","/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.075907623046078]