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.001317/0.001317, allocations: 84.77 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001546/0.001546, allocations: 165.3 kB / 23.96 MB, free: 4.164 MB / 14.72 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.471/1.471, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 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.244e-06/2.244e-06, allocations: 1.125 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.202e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01187/0.0119, allocations: 8.393 MB / 333.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006695/0.01859, allocations: 2.881 MB / 336.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.02014, allocations: 62.91 kB / 336.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.022, allocations: 0.6296 MB / 337 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.02471, allocations: 0.8516 MB / 337.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.0256, allocations: 362.8 kB / 338.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003605/0.02921, allocations: 2.769 MB / 341 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.03088, allocations: 1.117 MB / 342.1 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.03405, allocations: 1.785 MB / 343.9 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.03632, allocations: 1.325 MB / 345.2 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005572/0.03688, allocations: 308 kB / 345.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.03782, allocations: 407.7 kB / 345.9 MB, free: 172 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.03882, allocations: 0.9232 MB / 346.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.04025, allocations: 0.9666 MB / 347.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.04523, allocations: 4.168 MB / 352 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.04524, allocations: 0 / 352 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.04524, allocations: 0 / 352 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001108/0.04535, allocations: 4 kB / 352 MB, free: 10.09 MB / 318.1 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.007726/0.05308, allocations: 2.83 MB / 354.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/0.05315, allocations: 12.03 kB / 354.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.05445, allocations: 331.1 kB / 355.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.0579, allocations: 1.495 MB / 356.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.05804, allocations: 148.4 kB / 356.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.05838, allocations: 208.3 kB / 357 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/0.06344, allocations: 2.837 MB / 359.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.644e-05/0.0635, allocations: 11.95 kB / 359.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.0637, allocations: 87.98 kB / 359.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.06382, allocations: 95.88 kB / 360 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.068, allocations: 2.315 MB / 362.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.08183, allocations: 7.254 MB / 369.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.084, allocations: 1.235 MB / 370.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.08621, allocations: 1.024 MB / 371.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.08644, allocations: 44.97 kB / 371.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.08648, allocations: 43.56 kB / 372 MB, free: 5.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.797e-06/0.08649, allocations: 0 / 372 MB, free: 5.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.014/0.1005, allocations: 5.912 MB / 377.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1005, allocations: 68.34 kB / 377.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.1028, allocations: 1.397 MB / 379.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.1029, allocations: 49.7 kB / 379.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000828/0.1037, allocations: 1.028 MB / 380.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.1041, allocations: 428.3 kB / 380.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/0.1045, allocations: 251.5 kB / 381.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1047, allocations: 365.9 kB / 381.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.1059, allocations: 0.7299 MB / 382.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.1074, allocations: 1.059 MB / 383.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.1102, allocations: 1.879 MB / 385.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.1102, allocations: 4 kB / 385.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004281/0.1145, allocations: 2.334 MB / 387.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.1146, allocations: 11.94 kB / 387.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.1146, allocations: 8 kB / 387.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.1156, allocations: 415.4 kB / 387.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.117, allocations: 319.5 kB / 388.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.1228, allocations: 4.772 MB / 392.9 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.1245, allocations: 95.84 kB / 393 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.1246, allocations: 56.03 kB / 393.1 MB, free: 15.95 MB / 366.1 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.001658/0.1263, allocations: 0.712 MB / 393.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/0.1267, allocations: 163 kB / 394 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.1307, allocations: 2.12 MB / 396.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.1307, allocations: 12 kB / 396.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1307, allocations: 4 kB / 396.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.1307, allocations: 11.91 kB / 396.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008081/0.1388, allocations: 4.051 MB / 400.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.1388, allocations: 4.281 kB / 400.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.1398, allocations: 223.7 kB / 400.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.1412, allocations: 462.9 kB / 400.8 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.1413, allocations: 31.98 kB / 400.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006954/0.1482, allocations: 6.262 MB / 407.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1482, allocations: 0 / 407.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/0.1537, allocations: 3.173 MB / 410.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/0.1545, allocations: 318.8 kB / 410.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.1548, allocations: 27.98 kB / 410.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/0.1556, allocations: 75.92 kB / 410.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.1559, allocations: 112.7 kB / 410.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.156, allocations: 35.98 kB / 410.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001437/0.1574, allocations: 0.947 MB / 411.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1574, allocations: 0 / 411.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001506/0.1589, allocations: 459.9 kB / 412.3 MB, free: 12.27 MB / 382.1 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.0004055/0.1593, allocations: 202.8 kB / 412.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003643/0.163, allocations: 2.036 MB / 414.5 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.163, allocations: 0 / 414.5 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.1654, allocations: 1.359 MB / 415.9 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.1673, allocations: 390.4 kB / 416.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007369/0.1747, allocations: 4.359 MB / 420.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.1762, allocations: 1.257 MB / 421.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.1774, allocations: 376.5 kB / 422.2 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.1777, allocations: 112.5 kB / 422.3 MB, free: 2.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1777, allocations: 0 / 422.3 MB, free: 2.02 MB / 382.1 MB Notification: Performance of Templates: time 0.04748/0.2252, allocations: 24.55 MB / 446.9 MB, free: 9.789 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] 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.480393961071968]