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.0007644/0.0007644, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003136/0.003136, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 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 0.8599/0.8599, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.794e-06/1.794e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.1e-05, allocations: 10.28 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.00719/0.007211, allocations: 8.382 MB / 334.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00432/0.01153, allocations: 2.882 MB / 337.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005548/0.01209, allocations: 63.56 kB / 337.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.01308, allocations: 0.6247 MB / 337.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.0143, allocations: 0.8538 MB / 338.6 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.01473, allocations: 363.4 kB / 339 MB, free: 2.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.01649, allocations: 2.777 MB / 341.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.01752, allocations: 1.124 MB / 342.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.01897, allocations: 1.785 MB / 344.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.0202, allocations: 1.325 MB / 346 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.02048, allocations: 308 kB / 346.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.02094, allocations: 407.8 kB / 346.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005463/0.02148, allocations: 0.9193 MB / 347.6 MB, free: 9.422 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007712/0.02226, allocations: 0.9704 MB / 348.6 MB, free: 8.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.02492, allocations: 4.164 MB / 352.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02493, allocations: 0 / 352.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02493, allocations: 4 kB / 352.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.817e-05/0.02497, allocations: 3.938 kB / 352.7 MB, free: 4.266 MB / 314.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.003264/0.02823, allocations: 2.83 MB / 355.6 MB, free: 1.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.02827, allocations: 11.98 kB / 355.6 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006267/0.0289, allocations: 331.1 kB / 355.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.03059, allocations: 1.491 MB / 357.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.03068, allocations: 152.4 kB / 357.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.03088, allocations: 216.3 kB / 357.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.0338, allocations: 2.84 MB / 360.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.03385, allocations: 7.953 kB / 360.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.03398, allocations: 80 kB / 360.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.761e-05/0.03404, allocations: 91.94 kB / 360.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.03652, allocations: 2.322 MB / 363.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007111/0.04363, allocations: 7.246 MB / 370.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.04488, allocations: 1.248 MB / 371.6 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.04601, allocations: 1.022 MB / 372.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.04616, allocations: 40.97 kB / 372.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.04618, allocations: 47.55 kB / 372.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.405e-06/0.04619, allocations: 4 kB / 372.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.007252/0.05344, allocations: 5.905 MB / 378.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.05348, allocations: 68.34 kB / 378.7 MB, free: 9.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.05477, allocations: 1.401 MB / 380.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.05483, allocations: 45.7 kB / 380.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.05529, allocations: 1.028 MB / 381.1 MB, free: 7.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.05551, allocations: 428.3 kB / 381.5 MB, free: 6.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.05576, allocations: 247.5 kB / 381.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.05587, allocations: 361.9 kB / 382.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/0.05659, allocations: 0.7339 MB / 382.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/0.05745, allocations: 1.052 MB / 383.9 MB, free: 4.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.0591, allocations: 1.883 MB / 385.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.05911, allocations: 3.938 kB / 385.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002335/0.06144, allocations: 2.338 MB / 388.2 MB, free: 4 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.06148, allocations: 16.02 kB / 388.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.06149, allocations: 12 kB / 388.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.06204, allocations: 403.1 kB / 388.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.06267, allocations: 331.5 kB / 388.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.06578, allocations: 4.778 MB / 393.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.06629, allocations: 91.86 kB / 393.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.06635, allocations: 48 kB / 393.8 MB, free: 10.12 MB / 362.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.0007963/0.06715, allocations: 0.7159 MB / 394.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.0673, allocations: 163 kB / 394.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.06941, allocations: 2.116 MB / 396.8 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.06942, allocations: 12 kB / 396.8 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.06942, allocations: 4 kB / 396.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.06943, allocations: 15.89 kB / 396.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.07363, allocations: 4.047 MB / 400.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.07364, allocations: 4 kB / 400.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.07411, allocations: 223.7 kB / 401.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006468/0.07476, allocations: 466.3 kB / 401.6 MB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.07482, allocations: 27.98 kB / 401.6 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.07861, allocations: 6.26 MB / 407.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.07862, allocations: 4 kB / 407.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/0.08155, allocations: 3.173 MB / 411 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.082, allocations: 314.8 kB / 411.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.08211, allocations: 27.98 kB / 411.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.0825, allocations: 75.92 kB / 411.4 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.08266, allocations: 104.7 kB / 411.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.0827, allocations: 35.98 kB / 411.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008639/0.08357, allocations: 0.947 MB / 412.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08357, allocations: 4 kB / 412.5 MB, free: 6.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009831/0.08455, allocations: 459.9 kB / 413 MB, free: 6.457 MB / 378.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.0002653/0.08481, allocations: 202.8 kB / 413.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.08687, allocations: 2.034 MB / 415.2 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.08687, allocations: 0 / 415.2 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.08808, allocations: 1.37 MB / 416.6 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009456/0.08903, allocations: 386.1 kB / 416.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.09349, allocations: 4.409 MB / 421.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.09435, allocations: 1.237 MB / 422.6 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.09461, allocations: 112.5 kB / 422.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.09461, allocations: 0 / 422.7 MB, free: 12.54 MB / 394.7 MB Notification: Performance of Templates: time 0.182/0.2766, allocations: 70.43 MB / 493.1 MB, free: 82.05 MB / 410.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: 7.495267316699028]