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.001378/0.001378, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001059/0.001059, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 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.9933/0.9933, allocations: 177 MB / 205.1 MB, free: 5.465 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.432e-06/1.432e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.412e-05, allocations: 2.312 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006545/0.006559, allocations: 7.864 MB / 281.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.009676, allocations: 2.603 MB / 283.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.01014, allocations: 27.88 kB / 283.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.01119, allocations: 0.5285 MB / 284.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006987/0.01189, allocations: 0.5194 MB / 284.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.01249, allocations: 255.6 kB / 285.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.01355, allocations: 1.532 MB / 286.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.01397, allocations: 367.2 kB / 287 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007592/0.01473, allocations: 0.8729 MB / 287.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.01533, allocations: 478.6 kB / 288.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.01545, allocations: 140 kB / 288.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.01566, allocations: 172 kB / 288.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.0158, allocations: 282.8 kB / 288.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003294/0.01613, allocations: 462.9 kB / 289.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.01689, allocations: 0.9262 MB / 290.3 MB, free: 132 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01689, allocations: 0 / 290.3 MB, free: 132 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01689, allocations: 0 / 290.3 MB, free: 132 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.0169, allocations: 3.938 kB / 290.3 MB, free: 128 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.1043/0.1212, allocations: 1.509 MB / 291.8 MB, free: 24.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.1212, allocations: 13.52 kB / 291.8 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005768/0.1218, allocations: 276.4 kB / 292.1 MB, free: 24.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.1226, allocations: 0.6485 MB / 292.8 MB, free: 24.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.1227, allocations: 72.23 kB / 292.8 MB, free: 24.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.1228, allocations: 104.5 kB / 292.9 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/0.1237, allocations: 0.7684 MB / 293.7 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.1237, allocations: 9.766 kB / 293.7 MB, free: 24.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.1238, allocations: 43.31 kB / 293.8 MB, free: 24.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.1238, allocations: 26.33 kB / 293.8 MB, free: 24.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1242, allocations: 279 kB / 294 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.1272, allocations: 3.646 MB / 297.7 MB, free: 22.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.1275, allocations: 258.9 kB / 297.9 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.1278, allocations: 192.8 kB / 298.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1278, allocations: 8.375 kB / 298.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1278, allocations: 46.28 kB / 298.2 MB, free: 22.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.704e-06/0.1278, allocations: 0 / 298.2 MB, free: 22.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001116/0.1289, allocations: 0.8072 MB / 299 MB, free: 21.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.129, allocations: 82.83 kB / 299.1 MB, free: 21.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.1296, allocations: 0.7262 MB / 299.8 MB, free: 21.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1296, allocations: 31.86 kB / 299.8 MB, free: 21.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.1299, allocations: 0.6393 MB / 300.5 MB, free: 21.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.1299, allocations: 174.5 kB / 300.6 MB, free: 20.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1301, allocations: 139.7 kB / 300.8 MB, free: 20.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1302, allocations: 0.5745 MB / 301.4 MB, free: 20.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.1303, allocations: 66.62 kB / 301.4 MB, free: 20.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.1305, allocations: 0.5001 MB / 301.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.1308, allocations: 0.6096 MB / 302.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.1309, allocations: 9.531 kB / 302.5 MB, free: 19.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006516/0.1315, allocations: 0.5933 MB / 303.1 MB, free: 19.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1315, allocations: 17.25 kB / 303.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1315, allocations: 8.688 kB / 303.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.1317, allocations: 71.7 kB / 303.2 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.132, allocations: 149.1 kB / 303.4 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.1331, allocations: 3.812 MB / 307.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.1333, allocations: 33.11 kB / 307.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1334, allocations: 26 kB / 307.2 MB, free: 15.23 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.000142/0.1335, allocations: 206.8 kB / 307.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.1336, allocations: 103 kB / 307.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.134, allocations: 351.7 kB / 307.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.134, allocations: 4.125 kB / 307.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.134, allocations: 2.078 kB / 307.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.134, allocations: 2.141 kB / 307.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.1349, allocations: 1.018 MB / 308.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1349, allocations: 6.172 kB / 308.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1351, allocations: 62.66 kB / 309 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.1352, allocations: 77.56 kB / 309.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1352, allocations: 8.5 kB / 309.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000909/0.1361, allocations: 3.784 MB / 312.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1361, allocations: 3.469 kB / 312.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.1366, allocations: 0.6263 MB / 313.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1367, allocations: 113.7 kB / 313.6 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.1368, allocations: 12.91 kB / 313.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.137, allocations: 19.45 kB / 313.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.137, allocations: 43.02 kB / 313.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.137, allocations: 11.69 kB / 313.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002778/0.1373, allocations: 433.9 kB / 314.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1373, allocations: 0 / 314.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005034/0.1378, allocations: 209 kB / 314.3 MB, free: 9.766 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.0001442/0.138, allocations: 116.9 kB / 314.4 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.1384, allocations: 0.6596 MB / 315.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1384, allocations: 0 / 315.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.1386, allocations: 487.2 kB / 315.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.1392, allocations: 209.7 kB / 315.8 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.141, allocations: 1.619 MB / 317.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.1411, allocations: 175.1 kB / 317.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.1413, allocations: 91.58 kB / 317.6 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.1416, allocations: 270.1 kB / 317.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1416, allocations: 0 / 317.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of Templates: time 0.01394/0.1555, allocations: 10.91 MB / 328.8 MB, free: 12.52 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.0831877239979804]