Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 168.2 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9269/0.9269, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.16e-05, allocations: 2.312 kB / 251.6 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.007347/0.007359, allocations: 9.371 MB / 260.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004995/0.01235, allocations: 3.116 MB / 264 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.01337, allocations: 51.69 kB / 264.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.01459, allocations: 0.6324 MB / 264.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.01668, allocations: 0.8226 MB / 265.5 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.01742, allocations: 387.3 kB / 265.9 MB, free: 8.812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002483/0.01991, allocations: 2.541 MB / 268.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.02114, allocations: 1.017 MB / 269.5 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.02345, allocations: 1.758 MB / 271.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.02493, allocations: 1.138 MB / 272.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000431/0.02536, allocations: 272 kB / 272.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.02592, allocations: 371.7 kB / 273 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005962/0.02652, allocations: 0.7751 MB / 273.8 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.02758, allocations: 0.8652 MB / 274.6 MB, free: 8 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.02984, allocations: 1.982 MB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.02985, allocations: 0 / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02985, allocations: 0 / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.145e-05/0.02994, allocations: 4 kB / 276.6 MB, free: 14.01 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003388/0.03333, allocations: 2.379 MB / 279 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.03337, allocations: 11.98 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.03406, allocations: 356.5 kB / 279.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.03542, allocations: 0.853 MB / 280.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.03552, allocations: 144.1 kB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.03575, allocations: 192.3 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.0377, allocations: 1.458 MB / 282 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/0.03775, allocations: 11.89 kB / 282 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.03789, allocations: 76 kB / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.512e-05/0.03799, allocations: 87.69 kB / 282.2 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.03906, allocations: 0.5522 MB / 282.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006883/0.04594, allocations: 5.211 MB / 287.9 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.04668, allocations: 0.5675 MB / 288.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.0475, allocations: 0.5062 MB / 289 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.04764, allocations: 36.98 kB / 289.1 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.04767, allocations: 43.56 kB / 289.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.477e-06/0.04767, allocations: 0 / 289.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.005606/0.05328, allocations: 2.578 MB / 291.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.05331, allocations: 64.41 kB / 291.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.05413, allocations: 0.8822 MB / 292.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.05419, allocations: 45.7 kB / 292.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/0.0546, allocations: 0.7945 MB / 293.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.05486, allocations: 408.4 kB / 293.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.05516, allocations: 235.4 kB / 294.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.05527, allocations: 365.8 kB / 294.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.05555, allocations: 158.8 kB / 294.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.05601, allocations: 0.5124 MB / 295.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008909/0.0569, allocations: 0.8111 MB / 295.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.05691, allocations: 7.984 kB / 295.9 MB, free: 9.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00156/0.05847, allocations: 0.9659 MB / 296.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.0585, allocations: 15.98 kB / 296.9 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.05851, allocations: 8 kB / 296.9 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007451/0.05926, allocations: 279.6 kB / 297.2 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.05997, allocations: 271.5 kB / 297.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/0.06365, allocations: 4.802 MB / 302.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.06423, allocations: 51.97 kB / 302.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.06431, allocations: 44 kB / 302.4 MB, free: 3.152 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004061/0.06472, allocations: 196.2 kB / 302.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.06494, allocations: 115.9 kB / 302.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.06634, allocations: 0.8438 MB / 303.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.06635, allocations: 12 kB / 303.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.06636, allocations: 4 kB / 303.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.06637, allocations: 3.984 kB / 303.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.06955, allocations: 1.968 MB / 305.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.06955, allocations: 8.062 kB / 305.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.07005, allocations: 159.8 kB / 305.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/0.07093, allocations: 358.6 kB / 306 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.07099, allocations: 27.98 kB / 306 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.07526, allocations: 6.012 MB / 312 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.07527, allocations: 4 kB / 312 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.07697, allocations: 1.207 MB / 313.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.07733, allocations: 175 kB / 313.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.07747, allocations: 35.92 kB / 313.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.07788, allocations: 39.98 kB / 313.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.07805, allocations: 84.83 kB / 313.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.07811, allocations: 27.98 kB / 313.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000443/0.07855, allocations: 436.3 kB / 314 MB, free: 6.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.07855, allocations: 3.938 kB / 314 MB, free: 6.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001349/0.0799, allocations: 427.9 kB / 314.5 MB, free: 6.449 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003276/0.08023, allocations: 160.2 kB / 314.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.08168, allocations: 1.121 MB / 315.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.042e-05/0.0817, allocations: 16.5 kB / 315.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.08248, allocations: 0.9374 MB / 316.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.0833, allocations: 360.9 kB / 317 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.08704, allocations: 3.26 MB / 320.3 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.08739, allocations: 444 kB / 320.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004333/0.08783, allocations: 171.8 kB / 320.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005307/0.08836, allocations: 361.1 kB / 321.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.08836, allocations: 4 kB / 321.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Templates: time 0.02885/0.1172, allocations: 23.58 MB / 344.8 MB, free: 7.832 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_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.2405016869306564]