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.0009958/0.0009958, allocations: 84.98 kB / 23 MB, free: 1.5 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.001026/0.001026, allocations: 174.4 kB / 26.39 MB, free: 7.758 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.9384/0.9384, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.884e-06/1.884e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.123e-05, allocations: 6.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01074/0.01076, allocations: 9.36 MB / 261.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005307/0.01607, allocations: 3.012 MB / 264.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.01692, allocations: 55.69 kB / 264.7 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.01829, allocations: 0.6172 MB / 265.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.01992, allocations: 0.8148 MB / 266.1 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.02056, allocations: 391.3 kB / 266.5 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.02263, allocations: 2.54 MB / 269.1 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009688/0.0236, allocations: 0.9933 MB / 270 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.02516, allocations: 1.77 MB / 271.8 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.02616, allocations: 1.153 MB / 273 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.02639, allocations: 272 kB / 273.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004283/0.02682, allocations: 363.8 kB / 273.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005166/0.02734, allocations: 0.7712 MB / 274.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007435/0.02808, allocations: 0.8691 MB / 275.2 MB, free: 132 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.02977, allocations: 1.982 MB / 277.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.02978, allocations: 4 kB / 277.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.02978, allocations: 4 kB / 277.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.0298, allocations: 3.938 kB / 277.2 MB, free: 14.13 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.002808/0.0326, allocations: 2.604 MB / 279.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.03264, allocations: 15.98 kB / 279.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.03321, allocations: 435.3 kB / 280.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.03433, allocations: 1.102 MB / 281.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.108e-05/0.03441, allocations: 144.2 kB / 281.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.0346, allocations: 196.3 kB / 281.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.03608, allocations: 1.43 MB / 283.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/0.03613, allocations: 15.88 kB / 283.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.03624, allocations: 76 kB / 283.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.03632, allocations: 91.67 kB / 283.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007946/0.03712, allocations: 0.5587 MB / 283.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005973/0.04309, allocations: 6.436 MB / 290.3 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.04376, allocations: 0.5578 MB / 290.9 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.04452, allocations: 0.5363 MB / 291.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.04464, allocations: 44.97 kB / 291.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.04468, allocations: 46.39 kB / 291.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 2.184e-06/0.04468, allocations: 0 / 291.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.004299/0.04898, allocations: 2.574 MB / 294.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.04902, allocations: 64.41 kB / 294.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/0.04984, allocations: 1.041 MB / 295.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.0499, allocations: 45.7 kB / 295.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.05046, allocations: 1.022 MB / 296.2 MB, free: 10.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.05073, allocations: 416.5 kB / 296.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.05101, allocations: 261 kB / 296.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.05119, allocations: 0.5471 MB / 297.4 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.05143, allocations: 167.9 kB / 297.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.05192, allocations: 0.6828 MB / 298.3 MB, free: 8.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.05278, allocations: 0.9646 MB / 299.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.05278, allocations: 4 kB / 299.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00144/0.05422, allocations: 1.186 MB / 300.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.05424, allocations: 11.98 kB / 300.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.05426, allocations: 12 kB / 300.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.05488, allocations: 290.4 kB / 300.8 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.05544, allocations: 275.5 kB / 301 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003713/0.05915, allocations: 6.544 MB / 307.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.05957, allocations: 43.94 kB / 307.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.05963, allocations: 47.98 kB / 307.7 MB, free: 14.35 MB / 298.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.0003462/0.05998, allocations: 240.1 kB / 307.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.06018, allocations: 183.1 kB / 308.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.06145, allocations: 0.9698 MB / 309 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.06146, allocations: 12 kB / 309.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.06147, allocations: 4 kB / 309.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.06147, allocations: 3.984 kB / 309.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.06422, allocations: 2.265 MB / 311.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.06423, allocations: 4 kB / 311.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.06462, allocations: 155.9 kB / 311.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007091/0.06533, allocations: 350.1 kB / 311.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.06538, allocations: 27.98 kB / 311.8 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.06945, allocations: 8.278 MB / 320.1 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.06945, allocations: 7.922 kB / 320.1 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.071, allocations: 1.4 MB / 321.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.07129, allocations: 223 kB / 321.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.07139, allocations: 27.98 kB / 321.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.07172, allocations: 39.98 kB / 321.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.07188, allocations: 96.52 kB / 321.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.07192, allocations: 23.98 kB / 321.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004241/0.07234, allocations: 0.5755 MB / 322.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.07234, allocations: 0 / 322.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001007/0.07335, allocations: 431.9 kB / 322.9 MB, free: 14.38 MB / 314.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.0003069/0.07366, allocations: 179.5 kB / 323.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.075, allocations: 1.361 MB / 324.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.07501, allocations: 320 / 324.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.07599, allocations: 1.186 MB / 325.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.07695, allocations: 364.9 kB / 326 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.0809, allocations: 3.45 MB / 329.5 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.08127, allocations: 500 kB / 330 MB, free: 7.102 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003859/0.08166, allocations: 171.9 kB / 330.1 MB, free: 6.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.08223, allocations: 413.9 kB / 330.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.08223, allocations: 0 / 330.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of Templates: time 0.1363/0.2186, allocations: 24.06 MB / 354.6 MB, free: 96.88 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.578158973250538]