Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001492/0.001492, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9568/0.9568, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.734e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01042/0.01045, allocations: 8.059 MB / 281 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005558/0.01601, allocations: 2.622 MB / 283.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.01711, allocations: 31.88 kB / 283.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.01889, allocations: 0.5246 MB / 284.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.0207, allocations: 0.5194 MB / 284.7 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.02136, allocations: 251.7 kB / 284.9 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.02343, allocations: 1.544 MB / 286.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007231/0.02416, allocations: 371.2 kB / 286.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.02566, allocations: 0.869 MB / 287.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/0.02645, allocations: 470.6 kB / 288.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002144/0.02667, allocations: 132 kB / 288.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.02703, allocations: 180 kB / 288.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.02723, allocations: 278.9 kB / 288.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.02777, allocations: 470.8 kB / 289.2 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.02932, allocations: 0.9301 MB / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.02933, allocations: 0 / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.02933, allocations: 0 / 290.1 MB, free: 136 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.02935, allocations: 0 / 290.1 MB, free: 136 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.1052/0.1346, allocations: 1.496 MB / 291.6 MB, free: 25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1346, allocations: 14.55 kB / 291.6 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.1351, allocations: 272.3 kB / 291.9 MB, free: 24.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.1359, allocations: 0.6714 MB / 292.6 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.136, allocations: 72.88 kB / 292.6 MB, free: 24.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.1361, allocations: 105.1 kB / 292.7 MB, free: 24.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1371, allocations: 0.8219 MB / 293.6 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.1371, allocations: 11.28 kB / 293.6 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.1372, allocations: 41.66 kB / 293.6 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1372, allocations: 29.97 kB / 293.6 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.1378, allocations: 352.4 kB / 294 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.1414, allocations: 3.621 MB / 297.6 MB, free: 22.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1418, allocations: 277 kB / 297.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.1421, allocations: 199.3 kB / 298.1 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1421, allocations: 11.23 kB / 298.1 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1422, allocations: 44.28 kB / 298.1 MB, free: 22.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 3.456e-06/0.1422, allocations: 1.469 kB / 298.1 MB, free: 22.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001632/0.1438, allocations: 1 MB / 299.1 MB, free: 21.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1438, allocations: 83.03 kB / 299.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.1445, allocations: 0.7456 MB / 300 MB, free: 21.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1445, allocations: 36.92 kB / 300 MB, free: 21.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.1448, allocations: 0.6349 MB / 300.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/0.1448, allocations: 166.3 kB / 300.8 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1449, allocations: 135.8 kB / 300.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1451, allocations: 0.5699 MB / 301.5 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1452, allocations: 82.03 kB / 301.6 MB, free: 19.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.1454, allocations: 0.5235 MB / 302.1 MB, free: 19.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.1459, allocations: 0.6353 MB / 302.7 MB, free: 18.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.1459, allocations: 3.688 kB / 302.7 MB, free: 18.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007492/0.1466, allocations: 0.643 MB / 303.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.1467, allocations: 13.03 kB / 303.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1467, allocations: 10.22 kB / 303.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.1469, allocations: 80.33 kB / 303.5 MB, free: 18.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.1472, allocations: 152.1 kB / 303.6 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.1485, allocations: 3.861 MB / 307.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.149, allocations: 32.55 kB / 307.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.149, allocations: 36.92 kB / 307.6 MB, free: 14.49 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.0002286/0.1492, allocations: 210.8 kB / 307.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.1493, allocations: 94.23 kB / 307.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.1498, allocations: 375.4 kB / 308.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1498, allocations: 3.938 kB / 308.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1498, allocations: 7.016 kB / 308.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1499, allocations: 1.266 kB / 308.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.1513, allocations: 1.174 MB / 309.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1513, allocations: 2.75 kB / 309.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1515, allocations: 64.86 kB / 309.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.1516, allocations: 75.42 kB / 309.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1516, allocations: 8 kB / 309.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1528, allocations: 3.851 MB / 313.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1528, allocations: 2.406 kB / 313.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.1534, allocations: 0.6517 MB / 314.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.1536, allocations: 111.2 kB / 314.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.1537, allocations: 12.09 kB / 314.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.1539, allocations: 32.69 kB / 314.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.1539, allocations: 32.47 kB / 314.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.154, allocations: 17.22 kB / 314.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003576/0.1543, allocations: 474.3 kB / 314.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1543, allocations: 0 / 314.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006565/0.155, allocations: 197.9 kB / 314.9 MB, free: 8.742 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.0002027/0.1552, allocations: 123.9 kB / 315 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.1559, allocations: 0.6823 MB / 315.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1559, allocations: 8.969 kB / 315.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.1562, allocations: 0.4903 MB / 316.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.1568, allocations: 216 kB / 316.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1589, allocations: 1.613 MB / 318 MB, free: 6.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.159, allocations: 169.4 kB / 318.2 MB, free: 6.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000252/0.1593, allocations: 94.69 kB / 318.3 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.1594, allocations: 56.5 kB / 318.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1594, allocations: 0 / 318.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Templates: time 0.01494/0.1743, allocations: 10.73 MB / 329.1 MB, free: 11.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.0712133501656353]