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.0009719/0.0009719, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.0009494/0.0009494, allocations: 159.3 kB / 24.99 MB, free: 8.309 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 1.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.605 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.904e-06/1.904e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.925e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006497/0.006526, allocations: 7.143 MB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.009203, allocations: 2.318 MB / 282.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.009494, allocations: 23.88 kB / 282.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008671/0.01036, allocations: 480.8 kB / 282.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.01082, allocations: 432.7 kB / 283.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.01105, allocations: 203.8 kB / 283.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.01181, allocations: 1.253 MB / 284.8 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.0122, allocations: 324.4 kB / 285.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.01276, allocations: 0.7054 MB / 285.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.0131, allocations: 386.9 kB / 286.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.01319, allocations: 116 kB / 286.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.01335, allocations: 148 kB / 286.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.01347, allocations: 243.1 kB / 286.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.01372, allocations: 387.1 kB / 287.1 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.01443, allocations: 0.7744 MB / 287.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01444, allocations: 0 / 287.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01444, allocations: 0 / 287.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.01444, allocations: 4 kB / 287.9 MB, free: 2.789 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.001456/0.0159, allocations: 1.294 MB / 289.2 MB, free: 1.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.01594, allocations: 15.98 kB / 289.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.01628, allocations: 212.2 kB / 289.4 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.01692, allocations: 0.587 MB / 290 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.01696, allocations: 58.38 kB / 290 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.01703, allocations: 84.36 kB / 290.1 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1101/0.1272, allocations: 0.6588 MB / 290.8 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.1272, allocations: 6.812 kB / 290.8 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.1273, allocations: 31.91 kB / 290.8 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.1273, allocations: 19.91 kB / 290.8 MB, free: 29.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.1278, allocations: 287.4 kB / 291.1 MB, free: 29.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.1306, allocations: 3.247 MB / 294.4 MB, free: 26.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.1309, allocations: 153.8 kB / 294.5 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.131, allocations: 62.97 kB / 294.6 MB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.131, allocations: 8.188 kB / 294.6 MB, free: 26.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.131, allocations: 38.28 kB / 294.6 MB, free: 26.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.131, allocations: 1.219 kB / 294.6 MB, free: 26.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001035/0.132, allocations: 0.711 MB / 295.3 MB, free: 26.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.1321, allocations: 86.08 kB / 295.4 MB, free: 26.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.1327, allocations: 0.6864 MB / 296.1 MB, free: 25.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1327, allocations: 27.83 kB / 296.1 MB, free: 25.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1329, allocations: 0.5696 MB / 296.7 MB, free: 25.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.133, allocations: 110 kB / 296.8 MB, free: 25.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1331, allocations: 122.6 kB / 296.9 MB, free: 25.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1332, allocations: 0.552 MB / 297.5 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1333, allocations: 61.77 kB / 297.5 MB, free: 24.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1335, allocations: 0.4981 MB / 298 MB, free: 24.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.1339, allocations: 0.5779 MB / 298.6 MB, free: 23.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1339, allocations: 2.469 kB / 298.6 MB, free: 23.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005847/0.1344, allocations: 0.516 MB / 299.1 MB, free: 23.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1345, allocations: 10.33 kB / 299.1 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1345, allocations: 9.625 kB / 299.2 MB, free: 23.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.1346, allocations: 42.97 kB / 299.2 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.1349, allocations: 132.2 kB / 299.3 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005356/0.1354, allocations: 1.744 MB / 301.1 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1357, allocations: 29.19 kB / 301.1 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.1357, allocations: 31.05 kB / 301.1 MB, free: 21.48 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.0001279/0.1358, allocations: 203.1 kB / 301.3 MB, free: 21.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.1359, allocations: 75.48 kB / 301.4 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.1362, allocations: 236.5 kB / 301.6 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1362, allocations: 7.281 kB / 301.6 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1362, allocations: 2.281 kB / 301.6 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1362, allocations: 1.312 kB / 301.6 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1372, allocations: 0.9128 MB / 302.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1372, allocations: 2 kB / 302.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1374, allocations: 51.61 kB / 302.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.435e-05/0.1374, allocations: 26.42 kB / 302.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1375, allocations: 9.219 kB / 302.6 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004199/0.1379, allocations: 1.735 MB / 304.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1379, allocations: 2.75 kB / 304.4 MB, free: 18.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.1382, allocations: 0.4949 MB / 304.9 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1384, allocations: 91.06 kB / 305 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.1384, allocations: 9.234 kB / 305 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1385, allocations: 14.45 kB / 305 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.1386, allocations: 24.62 kB / 305 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1386, allocations: 20.02 kB / 305 MB, free: 18.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.139, allocations: 428.4 kB / 305.4 MB, free: 18.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.139, allocations: 0 / 305.4 MB, free: 18.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.1394, allocations: 165.1 kB / 305.6 MB, free: 18.07 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.0001697/0.1396, allocations: 113.7 kB / 305.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.1401, allocations: 432.9 kB / 306.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1401, allocations: 0 / 306.1 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.1402, allocations: 259.1 kB / 306.4 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.1408, allocations: 175.1 kB / 306.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1425, allocations: 1.344 MB / 307.9 MB, free: 16.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.1426, allocations: 151.6 kB / 308.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.1428, allocations: 77.69 kB / 308.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1429, allocations: 50.33 kB / 308.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1429, allocations: 0 / 308.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of Templates: time 0.009842/0.1527, allocations: 8.016 MB / 316.2 MB, free: 10.74 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: 3.109087044140324]