Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.00108/0.00108, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002383, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008497/0.0008497, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.00207, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.8724/0.8724, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08103/0.9534, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] 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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.717e-05, allocations: 2.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007004/0.007021, allocations: 7.94 MB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.009584, allocations: 2.676 MB / 250.2 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.009881, allocations: 27.88 kB / 250.2 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.0106, allocations: 0.5401 MB / 250.7 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.01113, allocations: 0.5155 MB / 251.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.01139, allocations: 255.6 kB / 251.5 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008786/0.01226, allocations: 1.536 MB / 253 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.01264, allocations: 391.2 kB / 253.4 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.01338, allocations: 0.9811 MB / 254.4 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.01375, allocations: 478.5 kB / 254.9 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.01385, allocations: 136 kB / 255 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.01405, allocations: 176 kB / 255.2 MB, free: 3.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.01417, allocations: 215.2 kB / 255.4 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.01444, allocations: 391.3 kB / 255.8 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.01511, allocations: 0.8756 MB / 256.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.364e-05/0.01512, allocations: 0 / 256.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01513, allocations: 4 kB / 256.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.01514, allocations: 4 kB / 256.7 MB, free: 1.984 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001338/0.01648, allocations: 1.601 MB / 258.3 MB, free: 360 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.01651, allocations: 12.03 kB / 258.3 MB, free: 348 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.01689, allocations: 313.8 kB / 258.6 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.01746, allocations: 0.5371 MB / 259.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.0175, allocations: 74 kB / 259.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.01757, allocations: 96 kB / 259.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.01816, allocations: 0.7692 MB / 260 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.01818, allocations: 3.953 kB / 260 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.01822, allocations: 44 kB / 260.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.01823, allocations: 24 kB / 260.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.0185, allocations: 241.8 kB / 260.4 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.02106, allocations: 2.958 MB / 263.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.02138, allocations: 230.4 kB / 263.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.02159, allocations: 169.3 kB / 263.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.02162, allocations: 4.328 kB / 263.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.02165, allocations: 42.83 kB / 263.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.02165, allocations: 0 / 263.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001235/0.02288, allocations: 0.7543 MB / 264.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.02291, allocations: 59.39 kB / 264.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.02342, allocations: 0.6651 MB / 265.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.02344, allocations: 29.7 kB / 265.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.02363, allocations: 0.4927 MB / 265.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.02371, allocations: 170.6 kB / 265.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.02382, allocations: 134.5 kB / 266 MB, free: 8.164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.02393, allocations: 390.6 kB / 266.4 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.02399, allocations: 61.97 kB / 266.5 MB, free: 7.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.02419, allocations: 381.7 kB / 266.9 MB, free: 7.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.02452, allocations: 0.4887 MB / 267.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.02452, allocations: 0 / 267.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00049/0.02501, allocations: 490.7 kB / 267.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.02503, allocations: 12.09 kB / 267.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.02504, allocations: 12 kB / 267.8 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.02521, allocations: 65.62 kB / 267.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.02551, allocations: 175.7 kB / 268.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.02677, allocations: 2.6 MB / 270.7 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.02703, allocations: 35.94 kB / 270.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.02706, allocations: 28 kB / 270.7 MB, free: 2.988 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.02722, allocations: 165.5 kB / 270.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.02728, allocations: 63.94 kB / 271 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.02757, allocations: 290.9 kB / 271.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02757, allocations: 4 kB / 271.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.02758, allocations: 0 / 271.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.02758, allocations: 3.984 kB / 271.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/0.02837, allocations: 0.7673 MB / 272 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02837, allocations: 7.938 kB / 272 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.02853, allocations: 75.91 kB / 272.1 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.02866, allocations: 71.47 kB / 272.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.02878, allocations: 66.02 kB / 272.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.0288, allocations: 15.98 kB / 272.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.02986, allocations: 2.58 MB / 274.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02987, allocations: 7.938 kB / 274.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.03025, allocations: 493.5 kB / 275.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.0303, allocations: 12.12 kB / 275.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.03046, allocations: 23.98 kB / 275.4 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.03051, allocations: 39.88 kB / 275.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.03053, allocations: 8 kB / 275.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.03077, allocations: 311.4 kB / 275.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03077, allocations: 0 / 275.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004914/0.03126, allocations: 208 kB / 275.9 MB, free: 13.51 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,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.0001473/0.0314, allocations: 104.3 kB / 276 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.03187, allocations: 0.525 MB / 276.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-05/0.03189, allocations: 16.44 kB / 276.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.03213, allocations: 370.6 kB / 276.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.03265, allocations: 270.9 kB / 277.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008644/0.04129, allocations: 1.743 MB / 278.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.04141, allocations: 179.2 kB / 279.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.04164, allocations: 98.69 kB / 279.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.04192, allocations: 233.2 kB / 279.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.04192, allocations: 0 / 279.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of Templates: time 0.1/0.1419, allocations: 11.37 MB / 290.8 MB, free: 38.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.921905848197639]