Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001331/0.001331, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.004532/0.004532, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.717e-05, allocations: 6.312 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006317/0.006334, allocations: 7.866 MB / 281.3 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.01109, allocations: 2.599 MB / 283.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006831/0.01177, allocations: 39.81 kB / 283.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.01286, allocations: 0.5091 MB / 284.4 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008164/0.01367, allocations: 0.5155 MB / 284.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.01404, allocations: 255.7 kB / 285.2 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.01522, allocations: 1.54 MB / 286.7 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.0157, allocations: 375.2 kB / 287.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.01666, allocations: 0.8729 MB / 288 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.01711, allocations: 466.6 kB / 288.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.01723, allocations: 136 kB / 288.6 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.01747, allocations: 176 kB / 288.7 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.01761, allocations: 286.9 kB / 289 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.01794, allocations: 462.9 kB / 289.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007917/0.01873, allocations: 0.9339 MB / 290.4 MB, free: 164 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01874, allocations: 0 / 290.4 MB, free: 164 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01874, allocations: 4 kB / 290.4 MB, free: 160 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.01875, allocations: 0 / 290.4 MB, free: 160 kB / 266.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.1117/0.1305, allocations: 1.508 MB / 291.9 MB, free: 24.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1305, allocations: 10.84 kB / 291.9 MB, free: 24.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.131, allocations: 272.9 kB / 292.2 MB, free: 24.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.1317, allocations: 0.6507 MB / 292.8 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.1318, allocations: 72.31 kB / 292.9 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/0.1319, allocations: 104.1 kB / 293 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/0.1327, allocations: 0.7671 MB / 293.8 MB, free: 24.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.1327, allocations: 13.17 kB / 293.8 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1327, allocations: 39.72 kB / 293.8 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.1328, allocations: 23.66 kB / 293.8 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.1332, allocations: 283.8 kB / 294.1 MB, free: 24.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.1361, allocations: 3.645 MB / 297.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.1364, allocations: 258.6 kB / 298 MB, free: 22.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.1367, allocations: 183.9 kB / 298.2 MB, free: 22.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1367, allocations: 7.688 kB / 298.2 MB, free: 22.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1367, allocations: 45.56 kB / 298.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.694e-06/0.1367, allocations: 2.188 kB / 298.3 MB, free: 22.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001201/0.1379, allocations: 0.8093 MB / 299.1 MB, free: 21.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1379, allocations: 82.95 kB / 299.1 MB, free: 21.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.1386, allocations: 0.7257 MB / 299.9 MB, free: 21.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1386, allocations: 32.08 kB / 299.9 MB, free: 21.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.1389, allocations: 0.6423 MB / 300.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.139, allocations: 170.3 kB / 300.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1391, allocations: 138.7 kB / 300.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1392, allocations: 0.5762 MB / 301.4 MB, free: 20.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1393, allocations: 67.52 kB / 301.5 MB, free: 20.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.1395, allocations: 0.506 MB / 302 MB, free: 19.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.1399, allocations: 0.6059 MB / 302.6 MB, free: 19.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1399, allocations: 3.734 kB / 302.6 MB, free: 19.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006351/0.1406, allocations: 0.5948 MB / 303.2 MB, free: 19.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1406, allocations: 8.344 kB / 303.2 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1406, allocations: 15.25 kB / 303.2 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.1407, allocations: 78.73 kB / 303.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.141, allocations: 148.1 kB / 303.4 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.1421, allocations: 3.813 MB / 307.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.1424, allocations: 36.88 kB / 307.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.1424, allocations: 26 kB / 307.3 MB, free: 15.25 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.000145/0.1425, allocations: 207.1 kB / 307.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.1426, allocations: 100.8 kB / 307.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.143, allocations: 345.6 kB / 308 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.143, allocations: 8.625 kB / 308 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.143, allocations: 1.938 kB / 308 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.143, allocations: 3.141 kB / 308 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.144, allocations: 1.018 MB / 309 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.144, allocations: 1.406 kB / 309 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1441, allocations: 65.89 kB / 309.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.1443, allocations: 69.41 kB / 309.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1443, allocations: 8.438 kB / 309.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009108/0.1452, allocations: 3.79 MB / 312.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1452, allocations: 1.812 kB / 312.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.1457, allocations: 0.6161 MB / 313.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1459, allocations: 119.2 kB / 313.7 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.1459, allocations: 13.12 kB / 313.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1461, allocations: 21.69 kB / 313.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.1462, allocations: 40.41 kB / 313.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1462, allocations: 7.469 kB / 313.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003607/0.1466, allocations: 437.4 kB / 314.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1466, allocations: 0 / 314.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000545/0.1471, allocations: 201.8 kB / 314.4 MB, free: 9.805 MB / 266.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.0001395/0.1473, allocations: 124.5 kB / 314.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.1477, allocations: 0.6593 MB / 315.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1477, allocations: 0 / 315.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.1479, allocations: 494.3 kB / 315.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.1485, allocations: 209.1 kB / 315.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1505, allocations: 1.625 MB / 317.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.282e-05/0.1506, allocations: 166.5 kB / 317.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.1509, allocations: 100.4 kB / 317.7 MB, free: 7.484 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.1511, allocations: 270.3 kB / 318 MB, free: 7.219 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1511, allocations: 0 / 318 MB, free: 7.219 MB / 266.7 MB Notification: Performance of Templates: time 0.01418/0.1653, allocations: 10.91 MB / 328.9 MB, free: 12.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9800292500294745]