Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.0009414/0.0009414, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.000892/0.000892, allocations: 165 kB / 24.56 MB, free: 12 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 0.961/0.961, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.542e-05/3.755e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009932/0.009969, allocations: 7.965 MB / 280.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.01412, allocations: 2.575 MB / 283.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.01472, allocations: 27.88 kB / 283.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.01592, allocations: 0.5169 MB / 284.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007741/0.01669, allocations: 0.5039 MB / 284.6 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.01706, allocations: 243.7 kB / 284.8 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.01828, allocations: 1.486 MB / 286.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.01878, allocations: 379.2 kB / 286.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.01978, allocations: 0.8573 MB / 287.5 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.02025, allocations: 462.6 kB / 288 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.02037, allocations: 132 kB / 288.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.02061, allocations: 168 kB / 288.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.02073, allocations: 278.9 kB / 288.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.02105, allocations: 454.9 kB / 289 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.022, allocations: 0.8989 MB / 289.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.022, allocations: 0 / 289.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.022, allocations: 0 / 289.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.02203, allocations: 4 kB / 289.9 MB, free: 0.5391 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1088/0.1308, allocations: 1.481 MB / 291.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1309, allocations: 9.625 kB / 291.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.1313, allocations: 251.2 kB / 291.6 MB, free: 25.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/0.1322, allocations: 0.657 MB / 292.3 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.1322, allocations: 74.31 kB / 292.4 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.1323, allocations: 101.1 kB / 292.5 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.1335, allocations: 0.7888 MB / 293.2 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.54e-05/0.1335, allocations: 5.719 kB / 293.2 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.908e-05/0.1336, allocations: 42 kB / 293.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.1336, allocations: 24.53 kB / 293.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.1343, allocations: 348.2 kB / 293.6 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.1374, allocations: 3.625 MB / 297.3 MB, free: 22.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.1377, allocations: 209.5 kB / 297.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1378, allocations: 82.16 kB / 297.6 MB, free: 22.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1379, allocations: 13.73 kB / 297.6 MB, free: 22.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1379, allocations: 37.05 kB / 297.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.785e-06/0.1379, allocations: 0 / 297.6 MB, free: 22.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001189/0.1391, allocations: 0.8297 MB / 298.4 MB, free: 21.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.1391, allocations: 81.78 kB / 298.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/0.1398, allocations: 0.7484 MB / 299.3 MB, free: 21.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1398, allocations: 31.14 kB / 299.3 MB, free: 21.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.1401, allocations: 0.6555 MB / 300 MB, free: 20.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.6e-05/0.1402, allocations: 137.6 kB / 300.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.1403, allocations: 128.3 kB / 300.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1404, allocations: 0.5648 MB / 300.8 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1405, allocations: 72.39 kB / 300.8 MB, free: 20.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.1408, allocations: 0.5302 MB / 301.4 MB, free: 19.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.1412, allocations: 0.6333 MB / 302 MB, free: 18.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1412, allocations: 3.969 kB / 302 MB, free: 18.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006667/0.1419, allocations: 0.5701 MB / 302.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1419, allocations: 10.22 kB / 302.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.142, allocations: 13.59 kB / 302.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.1421, allocations: 36.83 kB / 302.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.1424, allocations: 151.7 kB / 302.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000529/0.1429, allocations: 1.743 MB / 304.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1432, allocations: 39.64 kB / 304.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.1432, allocations: 31.84 kB / 304.6 MB, free: 16.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.1433, allocations: 209.9 kB / 304.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.1434, allocations: 87.12 kB / 304.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.1437, allocations: 280.4 kB / 305.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1437, allocations: 3.219 kB / 305.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1437, allocations: 1.438 kB / 305.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1437, allocations: 7.906 kB / 305.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.1448, allocations: 1.04 MB / 306.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1448, allocations: 3.875 kB / 306.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1449, allocations: 68.02 kB / 306.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.235e-05/0.145, allocations: 21.5 kB / 306.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.145, allocations: 17.33 kB / 306.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004303/0.1454, allocations: 1.731 MB / 308.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1454, allocations: 1.938 kB / 308.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.1459, allocations: 0.5527 MB / 308.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.146, allocations: 104.6 kB / 308.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.146, allocations: 12 kB / 308.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1462, allocations: 21.64 kB / 308.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.1463, allocations: 27.22 kB / 308.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1463, allocations: 14.8 kB / 308.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003972/0.1467, allocations: 471.7 kB / 309.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1467, allocations: 0 / 309.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.1472, allocations: 186.1 kB / 309.4 MB, free: 13.28 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001699/0.1473, allocations: 126.3 kB / 309.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1478, allocations: 470.5 kB / 310 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1478, allocations: 1.5 kB / 310 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.148, allocations: 273.7 kB / 310.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.1486, allocations: 194.5 kB / 310.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1506, allocations: 1.598 MB / 312.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.1507, allocations: 167.1 kB / 312.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.1509, allocations: 92.25 kB / 312.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.1509, allocations: 52.02 kB / 312.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1509, allocations: 0 / 312.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.01245/0.1634, allocations: 9.573 MB / 322 MB, free: 2.789 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_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: 3.165309210307896]