Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.00144/0.00144, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001535/0.001535, allocations: 156.9 kB / 24.27 MB, free: 172 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.484/1.484, allocations: 177 MB / 204.5 MB, free: 5.609 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.653e-05, allocations: 5.125 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01139/0.01141, allocations: 8.383 MB / 280.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.01713, allocations: 2.878 MB / 283.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008626/0.018, allocations: 59.56 kB / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.01961, allocations: 0.6364 MB / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.02184, allocations: 0.8499 MB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.0226, allocations: 367.4 kB / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.02591, allocations: 2.769 MB / 288.2 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.0276, allocations: 1.128 MB / 289.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1257/0.1533, allocations: 1.772 MB / 291.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.1563, allocations: 1.325 MB / 292.4 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007611/0.157, allocations: 309.9 kB / 292.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.1583, allocations: 407.5 kB / 293.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009688/0.1592, allocations: 0.9245 MB / 294 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.1611, allocations: 0.9697 MB / 295 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005978/0.1671, allocations: 4.169 MB / 299.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1671, allocations: 0 / 299.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1671, allocations: 0.5 kB / 299.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001765/0.1672, allocations: 4.844 kB / 299.1 MB, free: 16.14 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.007654/0.1749, allocations: 2.832 MB / 302 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1749, allocations: 13.58 kB / 302 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.1764, allocations: 497.9 kB / 302.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.1795, allocations: 1.546 MB / 304 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.1796, allocations: 149.8 kB / 304.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.18, allocations: 212.7 kB / 304.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.1841, allocations: 2.833 MB / 307.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.1841, allocations: 6.984 kB / 307.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.1843, allocations: 89.59 kB / 307.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.103e-05/0.1844, allocations: 97.2 kB / 307.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003414/0.1878, allocations: 2.323 MB / 309.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.199, allocations: 7.355 MB / 317.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.2006, allocations: 1.254 MB / 318.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.2021, allocations: 1.018 MB / 319.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.2023, allocations: 52.97 kB / 319.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2024, allocations: 47.5 kB / 319.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.416e-06/0.2024, allocations: 0 / 319.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.01432/0.2167, allocations: 5.949 MB / 325.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.2167, allocations: 67.41 kB / 325.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.2192, allocations: 1.405 MB / 326.9 MB, free: 9.691 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.2193, allocations: 45.7 kB / 326.9 MB, free: 9.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009599/0.2203, allocations: 1.026 MB / 327.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004569/0.2207, allocations: 427.3 kB / 328.4 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/0.2212, allocations: 255.5 kB / 328.6 MB, free: 7.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.2214, allocations: 353.9 kB / 329 MB, free: 7.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.2228, allocations: 0.7339 MB / 329.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.2244, allocations: 1.055 MB / 330.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.2279, allocations: 1.88 MB / 332.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.2279, allocations: 4 kB / 332.6 MB, free: 3.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00487/0.2327, allocations: 2.403 MB / 335 MB, free: 1.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.2328, allocations: 8 kB / 335 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.2328, allocations: 15.94 kB / 335.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.2341, allocations: 448.1 kB / 335.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.2355, allocations: 326.2 kB / 335.8 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.242, allocations: 4.794 MB / 340.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.2435, allocations: 91.86 kB / 340.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.2436, allocations: 51.98 kB / 340.7 MB, free: 11.46 MB / 298.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.001637/0.2453, allocations: 0.7145 MB / 341.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/0.2459, allocations: 199 kB / 341.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.2501, allocations: 2.122 MB / 343.8 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.2501, allocations: 12 kB / 343.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2501, allocations: 4 kB / 343.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.2501, allocations: 3.984 kB / 343.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008782/0.2589, allocations: 4.043 MB / 347.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2589, allocations: 288 / 347.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.26, allocations: 226.3 kB / 348.1 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.2615, allocations: 499.1 kB / 348.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.2616, allocations: 31.98 kB / 348.6 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009263/0.2708, allocations: 6.282 MB / 354.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.2709, allocations: 4 kB / 354.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009258/0.2801, allocations: 3.216 MB / 358.1 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.2817, allocations: 314.9 kB / 358.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006326/0.2824, allocations: 27.98 kB / 358.4 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.284, allocations: 71.92 kB / 358.5 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004685/0.2845, allocations: 116.2 kB / 358.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.2846, allocations: 36 kB / 358.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002594/0.2872, allocations: 0.9509 MB / 359.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2872, allocations: 0 / 359.6 MB, free: 8.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002984/0.2902, allocations: 459.9 kB / 360 MB, free: 7.82 MB / 314.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.000481/0.2907, allocations: 192.7 kB / 360.2 MB, free: 7.637 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.2948, allocations: 2.051 MB / 362.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2948, allocations: 192 / 362.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.2973, allocations: 1.362 MB / 363.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.2995, allocations: 405.2 kB / 364 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008051/0.3075, allocations: 4.433 MB / 368.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.3092, allocations: 1.257 MB / 369.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001238/0.3104, allocations: 376.5 kB / 370.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.3108, allocations: 108.5 kB / 370.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3108, allocations: 0 / 370.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Templates: time 0.04832/0.3591, allocations: 24.66 MB / 394.9 MB, free: 5.316 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.572714481968433]