Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001418/0.001418, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001127/0.001127, allocations: 156.5 kB / 24.55 MB, free: 16 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.9186/0.9186, allocations: 177 MB / 204.8 MB, free: 5.566 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.909e-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.DCPM_Start): time 0.006593/0.006612, allocations: 7.163 MB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004231/0.01084, allocations: 2.322 MB / 282.4 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008086/0.01165, allocations: 23.88 kB / 282.4 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.01308, allocations: 484.8 kB / 282.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007045/0.01378, allocations: 444.6 kB / 283.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.01409, allocations: 199.8 kB / 283.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.0151, allocations: 1.248 MB / 284.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.01556, allocations: 328.4 kB / 285.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.01645, allocations: 0.7132 MB / 285.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.01684, allocations: 386.8 kB / 286.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.01694, allocations: 112 kB / 286.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.01713, allocations: 148 kB / 286.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.01726, allocations: 227.1 kB / 286.7 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.01759, allocations: 383.1 kB / 287 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.01834, allocations: 0.7666 MB / 287.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01835, allocations: 0 / 287.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01835, allocations: 0 / 287.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.01836, allocations: 4 kB / 287.8 MB, free: 2.453 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001301/0.01966, allocations: 1.286 MB / 289.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.0197, allocations: 19.98 kB / 289.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.02002, allocations: 216.2 kB / 289.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.02066, allocations: 0.5753 MB / 289.9 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.02069, allocations: 66.38 kB / 290 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.02077, allocations: 80.33 kB / 290 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1078/0.1286, allocations: 0.6614 MB / 290.7 MB, free: 23.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.1286, allocations: 6.797 kB / 290.7 MB, free: 23.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.1286, allocations: 34.59 kB / 290.7 MB, free: 23.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1287, allocations: 18.97 kB / 290.8 MB, free: 23.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.1291, allocations: 286 kB / 291 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1316, allocations: 3.241 MB / 294.3 MB, free: 22.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.1319, allocations: 156.8 kB / 294.4 MB, free: 22.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.857e-05/0.132, allocations: 60.86 kB / 294.5 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.132, allocations: 5.312 kB / 294.5 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.132, allocations: 40.41 kB / 294.5 MB, free: 22.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.132, allocations: 3.328 kB / 294.5 MB, free: 22.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001056/0.1331, allocations: 0.7148 MB / 295.3 MB, free: 21.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.1331, allocations: 84.66 kB / 295.3 MB, free: 21.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.1337, allocations: 0.6859 MB / 296 MB, free: 21.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1338, allocations: 31.02 kB / 296.1 MB, free: 21.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.134, allocations: 0.5681 MB / 296.6 MB, free: 21.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.134, allocations: 111.8 kB / 296.7 MB, free: 21.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1341, allocations: 120 kB / 296.9 MB, free: 21.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1343, allocations: 0.5511 MB / 297.4 MB, free: 20.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1344, allocations: 61.23 kB / 297.5 MB, free: 20.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1346, allocations: 0.4976 MB / 298 MB, free: 19.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.1349, allocations: 0.5821 MB / 298.5 MB, free: 19.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1349, allocations: 3.469 kB / 298.5 MB, free: 19.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009598/0.1359, allocations: 0.5145 MB / 299.1 MB, free: 19.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.1359, allocations: 10.69 kB / 299.1 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.1359, allocations: 10.22 kB / 299.1 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.1361, allocations: 30.72 kB / 299.1 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.1364, allocations: 141.4 kB / 299.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007196/0.1372, allocations: 1.745 MB / 301 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.1375, allocations: 34.89 kB / 301 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1376, allocations: 29.59 kB / 301.1 MB, free: 17.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0001815/0.1378, allocations: 202 kB / 301.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.1378, allocations: 76.41 kB / 301.3 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.1382, allocations: 233.6 kB / 301.6 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1382, allocations: 6.625 kB / 301.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1382, allocations: 1.953 kB / 301.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1382, allocations: 6.297 kB / 301.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.1393, allocations: 0.9032 MB / 302.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1393, allocations: 3 kB / 302.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1394, allocations: 58.34 kB / 302.5 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.427e-05/0.1395, allocations: 20.36 kB / 302.6 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1395, allocations: 12.75 kB / 302.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004843/0.14, allocations: 1.731 MB / 304.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.14, allocations: 7.688 kB / 304.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.1404, allocations: 497.2 kB / 304.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.1406, allocations: 100.2 kB / 304.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.1406, allocations: 9.297 kB / 304.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1407, allocations: 14.56 kB / 304.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.1408, allocations: 23.77 kB / 304.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1408, allocations: 7.75 kB / 304.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003905/0.1412, allocations: 433.4 kB / 305.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 305.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.1417, allocations: 160.1 kB / 305.5 MB, free: 14.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0001681/0.1419, allocations: 127.8 kB / 305.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005229/0.1424, allocations: 432 kB / 306.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1424, allocations: 1.375 kB / 306.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1426, allocations: 259.5 kB / 306.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.1432, allocations: 179.2 kB / 306.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.145, allocations: 1.341 MB / 307.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1451, allocations: 144 kB / 308 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.1453, allocations: 80.72 kB / 308.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.1454, allocations: 45.09 kB / 308.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1454, allocations: 0 / 308.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01073/0.1562, allocations: 8.53 MB / 316.6 MB, free: 7.609 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_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.975643437821418]