Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.002464/0.002464, allocations: 103.5 kB / 21.74 MB, free: 2.684 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.002918/0.002918, allocations: 168.9 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.573e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.0119/0.01193, allocations: 7.945 MB / 258.3 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005649/0.01758, allocations: 2.611 MB / 260.9 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008571/0.01843, allocations: 27.88 kB / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.02006, allocations: 0.5323 MB / 261.5 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.02136, allocations: 0.5116 MB / 262 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.02192, allocations: 247.7 kB / 262.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002077/0.024, allocations: 1.539 MB / 263.8 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007583/0.02476, allocations: 371.2 kB / 264.1 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.02614, allocations: 0.8651 MB / 265 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007696/0.02691, allocations: 470.6 kB / 265.5 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.02713, allocations: 140 kB / 265.6 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.02753, allocations: 179.9 kB / 265.8 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.02782, allocations: 286.9 kB / 266.1 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008457/0.02866, allocations: 474.8 kB / 266.5 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.03093, allocations: 1.737 MB / 268.3 MB, free: 5.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.03094, allocations: 0 / 268.3 MB, free: 5.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03094, allocations: 0 / 268.3 MB, free: 5.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.03096, allocations: 4 kB / 268.3 MB, free: 5.824 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.003032/0.03399, allocations: 1.605 MB / 269.9 MB, free: 4.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.03404, allocations: 11.98 kB / 269.9 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008561/0.0349, allocations: 272 kB / 270.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.03631, allocations: 0.7029 MB / 270.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.03639, allocations: 74 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.03655, allocations: 99.95 kB / 271 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.03853, allocations: 1.109 MB / 272.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.03856, allocations: 0 / 272.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.03866, allocations: 40 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.03868, allocations: 28 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.04002, allocations: 0.6129 MB / 272.8 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007686/0.04771, allocations: 4.707 MB / 277.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/0.04845, allocations: 344.1 kB / 277.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.0491, allocations: 256.1 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.04915, allocations: 8.328 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.04919, allocations: 41.72 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.0492, allocations: 0 / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.003013/0.05221, allocations: 1.247 MB / 279.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.05228, allocations: 85.11 kB / 279.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.05379, allocations: 0.9835 MB / 280.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000338/0.05413, allocations: 37.7 kB / 280.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006741/0.0548, allocations: 0.6738 MB / 281.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.05501, allocations: 174.6 kB / 281.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.0553, allocations: 160.2 kB / 281.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000505/0.0558, allocations: 0.6094 MB / 282.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.05619, allocations: 161.9 kB / 282.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.05702, allocations: 0.6192 MB / 282.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.05826, allocations: 0.7851 MB / 283.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.05826, allocations: 0 / 283.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001723/0.05999, allocations: 0.7844 MB / 284.5 MB, free: 4.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.06002, allocations: 12 kB / 284.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.06004, allocations: 8.5 kB / 284.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.06041, allocations: 99.33 kB / 284.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.06098, allocations: 147.8 kB / 284.7 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.06505, allocations: 4.037 MB / 288.7 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.06575, allocations: 36.08 kB / 288.8 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.06581, allocations: 32 kB / 288.8 MB, free: 56 kB / 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.0005952/0.06641, allocations: 308.3 kB / 289.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.06658, allocations: 87.53 kB / 289.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.06763, allocations: 484.2 kB / 289.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.06764, allocations: 4 kB / 289.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.06764, allocations: 0 / 289.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.06766, allocations: 7.922 kB / 289.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.07037, allocations: 1.51 MB / 291.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.07038, allocations: 48 / 291.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.0707, allocations: 75.83 kB / 291.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/0.07099, allocations: 87.64 kB / 291.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.07103, allocations: 15.98 kB / 291.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.07477, allocations: 3.998 MB / 295.4 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.07478, allocations: 11.88 kB / 295.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.07632, allocations: 0.8358 MB / 296.2 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.07669, allocations: 115.5 kB / 296.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.0768, allocations: 12 kB / 296.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.0772, allocations: 23.98 kB / 296.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.07731, allocations: 39.88 kB / 296.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.07734, allocations: 16.12 kB / 296.4 MB, free: 8.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009246/0.07827, allocations: 0.5966 MB / 297 MB, free: 7.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07827, allocations: 0 / 297 MB, free: 7.426 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009806/0.07925, allocations: 211.9 kB / 297.2 MB, free: 7.219 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.0002678/0.07951, allocations: 127.2 kB / 297.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.08107, allocations: 0.8296 MB / 298.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.08108, allocations: 0 / 298.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.0819, allocations: 0.5426 MB / 298.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.083, allocations: 205.6 kB / 298.9 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.08627, allocations: 1.702 MB / 300.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.08679, allocations: 417.5 kB / 301 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003665/0.08716, allocations: 94.69 kB / 301.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.0873, allocations: 52.5 kB / 301.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.0873, allocations: 0 / 301.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of Templates: time 0.02238/0.1097, allocations: 10.08 MB / 311.3 MB, free: 9.043 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.0497972490265965]