Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001286/0.001286, 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.001033/0.001033, 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.9298/0.9298, allocations: 177 MB / 204.8 MB, free: 5.578 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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.745e-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.DCEE_Start): time 0.007295/0.007322, allocations: 7.972 MB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.01154, allocations: 2.579 MB / 283.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.01246, allocations: 31.81 kB / 283.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.0138, allocations: 0.5208 MB / 284 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.01492, allocations: 0.5038 MB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.01537, allocations: 239.7 kB / 284.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.01705, allocations: 1.489 MB / 286.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/0.01761, allocations: 379.2 kB / 286.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.01871, allocations: 0.8573 MB / 287.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.01939, allocations: 458.6 kB / 287.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.01963, allocations: 132 kB / 288 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.02007, allocations: 168 kB / 288.2 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.02026, allocations: 278.9 kB / 288.5 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.02077, allocations: 450.9 kB / 288.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.02194, allocations: 0.9028 MB / 289.8 MB, free: 436 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.02194, allocations: 4 kB / 289.8 MB, free: 432 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02194, allocations: 0 / 289.8 MB, free: 432 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.973e-05/0.02197, allocations: 4 kB / 289.8 MB, free: 428 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1078/0.1298, allocations: 1.478 MB / 291.3 MB, free: 25.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1298, allocations: 13.11 kB / 291.3 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.1304, allocations: 256.9 kB / 291.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.1313, allocations: 0.6565 MB / 292.2 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.1313, allocations: 72.91 kB / 292.3 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.1315, allocations: 100.4 kB / 292.4 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1326, allocations: 0.7862 MB / 293.2 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.1326, allocations: 7.578 kB / 293.2 MB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.1327, allocations: 41.95 kB / 293.2 MB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.1327, allocations: 23.5 kB / 293.3 MB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.1334, allocations: 347.6 kB / 293.6 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.137, allocations: 3.622 MB / 297.2 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.1374, allocations: 199 kB / 297.4 MB, free: 22.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1375, allocations: 88.67 kB / 297.5 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1375, allocations: 6.047 kB / 297.5 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1376, allocations: 46.22 kB / 297.6 MB, free: 22.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.1376, allocations: 0 / 297.6 MB, free: 22.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001379/0.1389, allocations: 0.8328 MB / 298.4 MB, free: 21.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.139, allocations: 86.27 kB / 298.5 MB, free: 21.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008418/0.1398, allocations: 0.7436 MB / 299.2 MB, free: 21.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1398, allocations: 32.42 kB / 299.2 MB, free: 21.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.1401, allocations: 0.6448 MB / 299.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.1402, allocations: 137.3 kB / 300 MB, free: 20.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1403, allocations: 132.1 kB / 300.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1405, allocations: 0.5648 MB / 300.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1406, allocations: 74.05 kB / 300.8 MB, free: 19.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.1409, allocations: 0.5303 MB / 301.3 MB, free: 19.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.1414, allocations: 0.632 MB / 302 MB, free: 18.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1414, allocations: 4.062 kB / 302 MB, free: 18.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009297/0.1423, allocations: 0.5729 MB / 302.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1423, allocations: 10.25 kB / 302.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.1424, allocations: 11.42 kB / 302.6 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.1425, allocations: 40.55 kB / 302.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.1429, allocations: 156.7 kB / 302.7 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006254/0.1435, allocations: 1.75 MB / 304.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.1439, allocations: 34.2 kB / 304.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.1439, allocations: 32.55 kB / 304.6 MB, free: 16.71 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.0001663/0.1441, allocations: 206.7 kB / 304.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.1442, allocations: 90.83 kB / 304.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1446, allocations: 279.8 kB / 305.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1446, allocations: 8.547 kB / 305.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1446, allocations: 5.375 kB / 305.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1446, allocations: 1.875 kB / 305.1 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.1458, allocations: 1.027 MB / 306.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1458, allocations: 1.375 kB / 306.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.146, allocations: 70.66 kB / 306.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-05/0.1461, allocations: 25.44 kB / 306.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1461, allocations: 12.7 kB / 306.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004855/0.1466, allocations: 1.736 MB / 308 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1466, allocations: 2.75 kB / 308 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.1471, allocations: 0.547 MB / 308.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.1473, allocations: 106.5 kB / 308.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.1473, allocations: 7.938 kB / 308.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1475, allocations: 21.14 kB / 308.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.1476, allocations: 34.53 kB / 308.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1476, allocations: 11.94 kB / 308.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004979/0.1481, allocations: 475.3 kB / 309.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1481, allocations: 0 / 309.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006772/0.1488, allocations: 185.9 kB / 309.4 MB, free: 13.18 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.000178/0.149, allocations: 126.7 kB / 309.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.1496, allocations: 468.4 kB / 310 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1496, allocations: 1.156 kB / 310 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.1498, allocations: 282 kB / 310.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.1504, allocations: 185.8 kB / 310.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1523, allocations: 1.588 MB / 312 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.1524, allocations: 168.3 kB / 312.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1526, allocations: 95.08 kB / 312.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.1526, allocations: 58.56 kB / 312.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1526, allocations: 0 / 312.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of Templates: time 0.01171/0.1643, allocations: 9.571 MB / 321.9 MB, free: 2.695 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9163451273925602]