Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 83.62 kB / 22.18 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 156.6 kB / 25.44 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8543/0.8543, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 299.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.134e-05, allocations: 2.281 kB / 299.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006108/0.006139, allocations: 6.305 MB / 306 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.009921, allocations: 2.221 MB / 308.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.01057, allocations: 23.88 kB / 308.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.01171, allocations: 480.9 kB / 308.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008009/0.01251, allocations: 424.7 kB / 309.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.01284, allocations: 207.8 kB / 309.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009817/0.01382, allocations: 1.253 MB / 310.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.01423, allocations: 324.5 kB / 310.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007866/0.01501, allocations: 0.6936 MB / 311.6 MB, free: 11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.01534, allocations: 358.9 kB / 312 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.01542, allocations: 112 kB / 312.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.01564, allocations: 155.9 kB / 312.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.01575, allocations: 239.1 kB / 312.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.01599, allocations: 375.1 kB / 312.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.01705, allocations: 1.429 MB / 314.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01706, allocations: 0 / 314.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.01706, allocations: 0 / 314.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.01707, allocations: 3.938 kB / 314.3 MB, free: 8.348 MB / 298.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.001371/0.01845, allocations: 1.198 MB / 315.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.01849, allocations: 11.98 kB / 315.5 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.01878, allocations: 148.1 kB / 315.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.01948, allocations: 0.5875 MB / 316.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.975e-05/0.01952, allocations: 54.38 kB / 316.2 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.01961, allocations: 80.38 kB / 316.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.02053, allocations: 0.8262 MB / 317.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.02055, allocations: 12.14 kB / 317.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.02059, allocations: 35.94 kB / 317.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.02061, allocations: 20 kB / 317.2 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.02123, allocations: 0.5191 MB / 317.7 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.02392, allocations: 2.924 MB / 320.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.02427, allocations: 226.5 kB / 320.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.0244, allocations: 105.2 kB / 321 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.02443, allocations: 7.938 kB / 321 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.02446, allocations: 34.56 kB / 321 MB, free: 1.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.02446, allocations: 0 / 321 MB, free: 1.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001378/0.02584, allocations: 0.8951 MB / 321.9 MB, free: 352 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.02588, allocations: 89.05 kB / 322 MB, free: 244 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.02647, allocations: 0.6875 MB / 322.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.02649, allocations: 25.7 kB / 322.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.02671, allocations: 0.5109 MB / 323.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.02676, allocations: 107.1 kB / 323.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.02686, allocations: 110.2 kB / 323.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.02697, allocations: 374.8 kB / 323.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.02713, allocations: 125.2 kB / 323.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.02741, allocations: 439.9 kB / 324.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.02788, allocations: 0.5678 MB / 324.9 MB, free: 13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02788, allocations: 8 kB / 324.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007852/0.02867, allocations: 0.6037 MB / 325.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.02869, allocations: 8 kB / 325.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.0287, allocations: 15.94 kB / 325.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.02883, allocations: 32.84 kB / 325.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.02906, allocations: 139.8 kB / 325.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007253/0.02979, allocations: 1.256 MB / 327 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.03006, allocations: 35.94 kB / 327 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.03008, allocations: 32 kB / 327.1 MB, free: 10.75 MB / 314.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.0002663/0.03035, allocations: 245.5 kB / 327.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.03041, allocations: 67.58 kB / 327.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.0308, allocations: 309.2 kB / 327.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.03081, allocations: 4 kB / 327.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.03081, allocations: 3.938 kB / 327.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.03082, allocations: 3.984 kB / 327.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.0318, allocations: 0.903 MB / 328.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.03181, allocations: 0 / 328.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.03195, allocations: 71.78 kB / 328.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.609e-05/0.03202, allocations: 20.84 kB / 328.7 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.03203, allocations: 8.047 kB / 328.7 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005926/0.03262, allocations: 1.245 MB / 329.9 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.03263, allocations: 7.969 kB / 329.9 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.03314, allocations: 0.5457 MB / 330.5 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.03328, allocations: 91.53 kB / 330.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.03332, allocations: 8 kB / 330.6 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.03347, allocations: 28.02 kB / 330.6 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.03353, allocations: 23.95 kB / 330.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.03355, allocations: 12 kB / 330.6 MB, free: 6.938 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003921/0.03394, allocations: 463 kB / 331.1 MB, free: 6.492 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03394, allocations: 0 / 331.1 MB, free: 6.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004839/0.03442, allocations: 163.9 kB / 331.2 MB, free: 6.332 MB / 314.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.0002064/0.03463, allocations: 119.1 kB / 331.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.03525, allocations: 459.5 kB / 331.8 MB, free: 5.742 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.03525, allocations: 0 / 331.8 MB, free: 5.742 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.03563, allocations: 224 kB / 332 MB, free: 5.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.03617, allocations: 178.5 kB / 332.2 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.0378, allocations: 1.372 MB / 333.6 MB, free: 3.906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.03803, allocations: 352.4 kB / 333.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.03812, allocations: 48.5 kB / 334 MB, free: 3.484 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03812, allocations: 0 / 334 MB, free: 3.484 MB / 314.7 MB Notification: Performance of Templates: time 0.01216/0.05028, allocations: 13.56 MB / 347.5 MB, free: 5.898 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5082800686359406]