Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 84.66 kB / 20.95 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 145.1 kB / 24.25 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.774e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01199/0.01202, allocations: 8.34 MB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006655/0.01867, allocations: 2.816 MB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.01992, allocations: 63.62 kB / 278.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.02171, allocations: 0.6248 MB / 279.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.02427, allocations: 0.8421 MB / 280 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.02514, allocations: 351.4 kB / 280.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003888/0.02903, allocations: 2.746 MB / 283.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.03095, allocations: 1.14 MB / 284.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.03426, allocations: 1.77 MB / 286 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.03724, allocations: 1.317 MB / 287.3 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007849/0.03802, allocations: 311.9 kB / 287.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.03907, allocations: 387.9 kB / 288 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.0402, allocations: 0.927 MB / 288.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1702/0.2104, allocations: 0.961 MB / 289.9 MB, free: 19.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.2159, allocations: 4.139 MB / 294 MB, free: 19.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2159, allocations: 0.5625 kB / 294 MB, free: 19.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2159, allocations: 0 / 294 MB, free: 19.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.968e-05/0.216, allocations: 3.469 kB / 294 MB, free: 19.23 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.005828/0.2218, allocations: 2.814 MB / 296.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2219, allocations: 11.17 kB / 296.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2229, allocations: 472.1 kB / 297.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.2255, allocations: 1.521 MB / 298.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.2256, allocations: 152.8 kB / 299 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.2259, allocations: 208.2 kB / 299.2 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004228/0.2301, allocations: 2.833 MB / 302 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/0.2302, allocations: 10.55 kB / 302 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.2304, allocations: 87.41 kB / 302.1 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.2305, allocations: 97.03 kB / 302.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/0.2342, allocations: 2.32 MB / 304.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.2444, allocations: 7.358 MB / 311.9 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.246, allocations: 1.239 MB / 313.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.2477, allocations: 1.022 MB / 314.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.2479, allocations: 44.97 kB / 314.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2479, allocations: 54.97 kB / 314.3 MB, free: 9.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.384e-06/0.2479, allocations: 0 / 314.3 MB, free: 9.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.01155/0.2594, allocations: 5.95 MB / 320.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.2595, allocations: 64.41 kB / 320.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.2611, allocations: 1.384 MB / 321.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-05/0.2612, allocations: 45.7 kB / 321.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.2616, allocations: 1.011 MB / 322.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.2618, allocations: 430.3 kB / 323.1 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00035/0.2621, allocations: 251.5 kB / 323.4 MB, free: 288 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2623, allocations: 365.9 kB / 323.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.2638, allocations: 0.7335 MB / 324.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.2654, allocations: 1.055 MB / 325.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.2686, allocations: 1.876 MB / 327.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.2686, allocations: 4 kB / 327.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00507/0.2736, allocations: 2.402 MB / 329.8 MB, free: 9.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.2737, allocations: 14.94 kB / 329.8 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.2737, allocations: 12 kB / 329.8 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.2751, allocations: 447.7 kB / 330.3 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.2764, allocations: 329.5 kB / 330.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.283, allocations: 4.794 MB / 335.4 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.2846, allocations: 83.91 kB / 335.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.2849, allocations: 55.98 kB / 335.5 MB, free: 3.801 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.001726/0.2866, allocations: 0.7018 MB / 336.2 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/0.2873, allocations: 210.2 kB / 336.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.2919, allocations: 2.116 MB / 338.6 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.2919, allocations: 16 kB / 338.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.2919, allocations: 4 kB / 338.6 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.2919, allocations: 3.984 kB / 338.6 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00957/0.3015, allocations: 4.046 MB / 342.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3015, allocations: 0 / 342.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.3026, allocations: 226.4 kB / 342.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.3042, allocations: 0.4929 MB / 343.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.3044, allocations: 31.98 kB / 343.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008232/0.3126, allocations: 6.286 MB / 349.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3126, allocations: 4.031 kB / 349.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.319, allocations: 3.206 MB / 352.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.3203, allocations: 314.9 kB / 353.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005017/0.3209, allocations: 27.98 kB / 353.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.322, allocations: 75.92 kB / 353.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/0.3224, allocations: 108.5 kB / 353.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.3225, allocations: 35.98 kB / 353.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002318/0.3248, allocations: 0.9427 MB / 354.4 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3248, allocations: 0 / 354.4 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002792/0.3276, allocations: 460 kB / 354.8 MB, free: 184 kB / 298.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.0006412/0.3282, allocations: 190.4 kB / 355 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004448/0.3327, allocations: 2.054 MB / 357 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3327, allocations: 0 / 357 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.3354, allocations: 1.371 MB / 358.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.3379, allocations: 388.9 kB / 358.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009595/0.3474, allocations: 4.426 MB / 363.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/0.3497, allocations: 1.249 MB / 364.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001517/0.3512, allocations: 380.5 kB / 364.8 MB, free: 6.039 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.3517, allocations: 108.5 kB / 364.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3517, allocations: 0 / 364.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of Templates: time 0.05137/0.4031, allocations: 24.5 MB / 389.5 MB, free: 13.82 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 5.551947359985206]