Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.001157/0.001157, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001182/0.001182, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.9077/0.9077, allocations: 158.6 MB / 187.2 MB, free: 2.551 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.722e-05, allocations: 5.406 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.009043/0.00907, allocations: 9.315 MB / 260.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007375/0.01645, allocations: 2.996 MB / 263.4 MB, free: 7.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.01777, allocations: 47.69 kB / 263.4 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.01936, allocations: 0.6174 MB / 264 MB, free: 6.539 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.02104, allocations: 0.8537 MB / 264.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.02162, allocations: 363.4 kB / 265.2 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.02405, allocations: 2.785 MB / 268 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.02522, allocations: 1.077 MB / 269.1 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.02737, allocations: 1.778 MB / 270.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.02902, allocations: 1.426 MB / 272.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.02937, allocations: 308 kB / 272.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.02991, allocations: 391.9 kB / 273 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000604/0.03051, allocations: 0.9387 MB / 273.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.03137, allocations: 0.9822 MB / 274.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.03324, allocations: 2.293 MB / 277.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.03324, allocations: 0 / 277.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.03324, allocations: 0 / 277.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.232e-05/0.03327, allocations: 0 / 277.2 MB, free: 9.266 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003208/0.03648, allocations: 2.999 MB / 280.2 MB, free: 6.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.03652, allocations: 11.98 kB / 280.2 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.03719, allocations: 471.2 kB / 280.7 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.03873, allocations: 1.303 MB / 282 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/0.03882, allocations: 148.4 kB / 282.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.03904, allocations: 204.3 kB / 282.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.0412, allocations: 1.688 MB / 284 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.04124, allocations: 7.938 kB / 284 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.04137, allocations: 87.97 kB / 284.1 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.943e-05/0.04145, allocations: 95.94 kB / 284.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.04298, allocations: 0.7646 MB / 285 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007865/0.05084, allocations: 6.983 MB / 292 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.05181, allocations: 0.6964 MB / 292.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008684/0.05268, allocations: 0.5648 MB / 293.2 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.0529, allocations: 52.91 kB / 293.3 MB, free: 8.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.05293, allocations: 46.39 kB / 293.3 MB, free: 8.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.116e-06/0.05294, allocations: 0 / 293.3 MB, free: 8.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.005354/0.05829, allocations: 3.195 MB / 296.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.05833, allocations: 64.41 kB / 296.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.0595, allocations: 1.222 MB / 297.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.05957, allocations: 45.7 kB / 297.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/0.06027, allocations: 1.102 MB / 298.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.06051, allocations: 444.3 kB / 299.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.06079, allocations: 261.2 kB / 299.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.06095, allocations: 0.5394 MB / 300.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.06132, allocations: 223.8 kB / 300.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/0.06193, allocations: 0.6757 MB / 301.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1458/0.2077, allocations: 0.999 MB / 302.1 MB, free: 49.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.2077, allocations: 2.078 kB / 302.1 MB, free: 49.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002678/0.2104, allocations: 1.265 MB / 303.3 MB, free: 49.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.2105, allocations: 9.297 kB / 303.3 MB, free: 49.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.2105, allocations: 12.88 kB / 303.3 MB, free: 49.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006978/0.2112, allocations: 225.4 kB / 303.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.2121, allocations: 326.6 kB / 303.9 MB, free: 49.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.2149, allocations: 4.42 MB / 308.3 MB, free: 45.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008152/0.2157, allocations: 90.34 kB / 308.4 MB, free: 45.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/0.2158, allocations: 54.55 kB / 308.4 MB, free: 45.78 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006479/0.2164, allocations: 240.4 kB / 308.7 MB, free: 45.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.2167, allocations: 202 kB / 308.9 MB, free: 45.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.2186, allocations: 1.072 MB / 310 MB, free: 45.49 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.2186, allocations: 11.56 kB / 310 MB, free: 45.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.2186, allocations: 7.266 kB / 310 MB, free: 45.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.2186, allocations: 5.859 kB / 310 MB, free: 45.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/0.2232, allocations: 2.952 MB / 312.9 MB, free: 44.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.2232, allocations: 1.938 kB / 312.9 MB, free: 44.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/0.2238, allocations: 219.5 kB / 313.1 MB, free: 44.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007356/0.2246, allocations: 291.7 kB / 313.4 MB, free: 44.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.2246, allocations: 32.05 kB / 313.5 MB, free: 44.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/0.2277, allocations: 6.258 MB / 319.7 MB, free: 39.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2277, allocations: 4.375 kB / 319.7 MB, free: 39.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.2296, allocations: 1.556 MB / 321.3 MB, free: 39.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.23, allocations: 293.5 kB / 321.6 MB, free: 38.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.2301, allocations: 29.72 kB / 321.6 MB, free: 38.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2305, allocations: 69.84 kB / 321.7 MB, free: 38.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.2307, allocations: 117.5 kB / 321.8 MB, free: 38.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.2308, allocations: 34.53 kB / 321.8 MB, free: 38.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006681/0.2314, allocations: 0.715 MB / 322.5 MB, free: 38.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2314, allocations: 0 / 322.5 MB, free: 38.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001033/0.2325, allocations: 455.4 kB / 323 MB, free: 38.51 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002996/0.2328, allocations: 196.8 kB / 323.2 MB, free: 38.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.2345, allocations: 1.282 MB / 324.4 MB, free: 37.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.2345, allocations: 7.719 kB / 324.5 MB, free: 37.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008843/0.2354, allocations: 1.098 MB / 325.5 MB, free: 37.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.2363, allocations: 398.8 kB / 325.9 MB, free: 37.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.2406, allocations: 3.765 MB / 329.7 MB, free: 34.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.2409, allocations: 0.573 MB / 330.3 MB, free: 33.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005265/0.2415, allocations: 298.4 kB / 330.6 MB, free: 33.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.2417, allocations: 108.4 kB / 330.7 MB, free: 33.29 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2417, allocations: 0 / 330.7 MB, free: 33.29 MB / 282.7 MB Notification: Performance of Templates: time 0.02528/0.267, allocations: 24.59 MB / 355.3 MB, free: 8.906 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.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.7094080531969666]