Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.002203/0.002203, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00241/0.00241, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.712e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.02035/0.02039, allocations: 9.318 MB / 281.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.03056, allocations: 2.999 MB / 284.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.03317, allocations: 59.62 kB / 284.7 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.03654, allocations: 0.6286 MB / 285.3 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004644/0.04119, allocations: 0.8461 MB / 286.2 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.04281, allocations: 367.2 kB / 286.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005874/0.04868, allocations: 2.758 MB / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.156/0.2047, allocations: 1.125 MB / 290.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.2084, allocations: 1.798 MB / 292.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/0.2117, allocations: 1.425 MB / 293.6 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007757/0.2125, allocations: 308.5 kB / 293.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.2136, allocations: 411.6 kB / 294.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.2147, allocations: 0.9354 MB / 295.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.2163, allocations: 0.9829 MB / 296.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.2211, allocations: 4.188 MB / 300.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2211, allocations: 1.656 kB / 300.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2211, allocations: 0 / 300.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.835e-05/0.2212, allocations: 1.219 kB / 300.5 MB, free: 15.21 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.006178/0.2273, allocations: 3.227 MB / 303.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2274, allocations: 9.562 kB / 303.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.2288, allocations: 0.4925 MB / 304.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.2314, allocations: 1.446 MB / 305.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.2315, allocations: 153.5 kB / 305.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.2317, allocations: 204.9 kB / 306 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003626/0.2354, allocations: 2.637 MB / 308.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-05/0.2354, allocations: 11.2 kB / 308.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.2356, allocations: 79.66 kB / 308.7 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.471e-05/0.2357, allocations: 96.55 kB / 308.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.2385, allocations: 1.779 MB / 310.6 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.2512, allocations: 9.652 MB / 320.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.253, allocations: 0.9287 MB / 321.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.2548, allocations: 0.761 MB / 321.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.2551, allocations: 60.41 kB / 322 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.2551, allocations: 54.08 kB / 322 MB, free: 14.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.316e-06/0.2551, allocations: 0 / 322 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.01135/0.2665, allocations: 3.898 MB / 325.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.2666, allocations: 64.41 kB / 326 MB, free: 10.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.2695, allocations: 1.668 MB / 327.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.2697, allocations: 45.7 kB / 327.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.2709, allocations: 1.179 MB / 328.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/0.2714, allocations: 473.5 kB / 329.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005697/0.272, allocations: 309.2 kB / 329.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004069/0.2724, allocations: 0.5824 MB / 330.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009434/0.2733, allocations: 415.7 kB / 330.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.2748, allocations: 0.9015 MB / 331.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.2773, allocations: 1.449 MB / 333 MB, free: 2.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.2773, allocations: 4 kB / 333 MB, free: 2.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003782/0.2811, allocations: 1.639 MB / 334.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.2811, allocations: 12 kB / 334.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.2811, allocations: 11.94 kB / 334.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/0.2821, allocations: 226.9 kB / 334.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.2834, allocations: 332 kB / 335.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.2888, allocations: 4.555 MB / 339.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.2902, allocations: 79.92 kB / 339.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.2903, allocations: 55.98 kB / 339.9 MB, free: 11.69 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.001328/0.2916, allocations: 0.5955 MB / 340.5 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.2921, allocations: 206.9 kB / 340.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.2955, allocations: 1.366 MB / 342 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.2955, allocations: 12 kB / 342.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2955, allocations: 0 / 342.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.2955, allocations: 19.89 kB / 342.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008598/0.3041, allocations: 3.78 MB / 345.9 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.3041, allocations: 0 / 345.9 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.3051, allocations: 217.9 kB / 346.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.3064, allocations: 310.4 kB / 346.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.3065, allocations: 31.98 kB / 346.4 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/0.3135, allocations: 6.389 MB / 352.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.3135, allocations: 4 kB / 352.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004578/0.3181, allocations: 2.052 MB / 354.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/0.3193, allocations: 294.9 kB / 355.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.3195, allocations: 27.94 kB / 355.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.3203, allocations: 75.92 kB / 355.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.3207, allocations: 116.3 kB / 355.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.456e-05/0.3208, allocations: 35.98 kB / 355.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001748/0.3225, allocations: 0.9821 MB / 356.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3225, allocations: 0 / 356.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001814/0.3243, allocations: 459.9 kB / 356.8 MB, free: 10.27 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.0004451/0.3248, allocations: 189.4 kB / 357 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003888/0.3287, allocations: 1.665 MB / 358.7 MB, free: 8.422 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3287, allocations: 4.062 kB / 358.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.331, allocations: 1.263 MB / 359.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.3333, allocations: 409.1 kB / 360.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/0.3415, allocations: 3.978 MB / 364.3 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/0.3433, allocations: 1.163 MB / 365.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00129/0.3446, allocations: 308.4 kB / 365.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.345, allocations: 104.5 kB / 365.9 MB, free: 1.062 MB / 314.7 MB Notification: Performance of SimCode: time 2.034e-06/0.345, allocations: 0 / 365.9 MB, free: 1.062 MB / 314.7 MB Notification: Performance of Templates: time 0.04867/0.3937, allocations: 24.67 MB / 390.5 MB, free: 8.809 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.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.890487701050006]