Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009796/0.0009796, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00132/0.002299, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007949/0.0007949, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001885, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9779/0.9779, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08896/1.067, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.542e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009219/0.009244, allocations: 7.078 MB / 251.6 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.01346, allocations: 2.414 MB / 254 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.01414, allocations: 19.94 kB / 254 MB, free: 4.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.01548, allocations: 0.489 MB / 254.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.01658, allocations: 432.6 kB / 255 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.01703, allocations: 203.8 kB / 255.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.01845, allocations: 1.26 MB / 256.4 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.01895, allocations: 336.5 kB / 256.7 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.02003, allocations: 0.8134 MB / 257.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004813/0.02051, allocations: 390.9 kB / 257.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.02064, allocations: 112 kB / 258 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.02095, allocations: 148 kB / 258.2 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.02108, allocations: 179.4 kB / 258.4 MB, free: 396 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.02142, allocations: 315.4 kB / 258.7 MB, free: 80 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.02271, allocations: 0.7355 MB / 259.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.668e-05/0.02273, allocations: 0 / 259.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.02273, allocations: 0 / 259.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.02276, allocations: 4 kB / 259.4 MB, free: 15.33 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.001586/0.02434, allocations: 1.352 MB / 260.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.0244, allocations: 16.03 kB / 260.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.02487, allocations: 253.9 kB / 261 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.02564, allocations: 466.6 kB / 261.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.02569, allocations: 62.38 kB / 261.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/0.02578, allocations: 88.31 kB / 261.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.02647, allocations: 0.6034 MB / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.0265, allocations: 12.16 kB / 262.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/0.02654, allocations: 35.94 kB / 262.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.02656, allocations: 23.94 kB / 262.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.02684, allocations: 201.8 kB / 262.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.02964, allocations: 2.601 MB / 265.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.02988, allocations: 138.1 kB / 265.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.02996, allocations: 52.83 kB / 265.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.02998, allocations: 7.938 kB / 265.3 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.03001, allocations: 34.56 kB / 265.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.03001, allocations: 0 / 265.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001312/0.03132, allocations: 0.5379 MB / 265.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.03135, allocations: 55.64 kB / 265.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.03188, allocations: 0.5911 MB / 266.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.0319, allocations: 33.69 kB / 266.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.03214, allocations: 456.4 kB / 267 MB, free: 7.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/0.03222, allocations: 111.1 kB / 267.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.03234, allocations: 114.2 kB / 267.2 MB, free: 7.141 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.03247, allocations: 378.6 kB / 267.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.03253, allocations: 45.28 kB / 267.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.03276, allocations: 375.9 kB / 268 MB, free: 6.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.03309, allocations: 453.2 kB / 268.4 MB, free: 5.629 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.0331, allocations: 4 kB / 268.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005281/0.03363, allocations: 398.4 kB / 268.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.03365, allocations: 8 kB / 268.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.03367, allocations: 12 kB / 268.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.0338, allocations: 32.78 kB / 268.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.03416, allocations: 147.8 kB / 269 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007096/0.03487, allocations: 1.182 MB / 270.2 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.03515, allocations: 39.94 kB / 270.2 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.03517, allocations: 24 kB / 270.3 MB, free: 3.695 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.0001619/0.03533, allocations: 149.6 kB / 270.4 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.03541, allocations: 56 kB / 270.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.03565, allocations: 189.1 kB / 270.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03566, allocations: 8.031 kB / 270.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.03566, allocations: 0 / 270.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.03566, allocations: 3.938 kB / 270.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007153/0.03638, allocations: 0.5908 MB / 271.3 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.03638, allocations: 4 kB / 271.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.03656, allocations: 64.12 kB / 271.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.03669, allocations: 63.56 kB / 271.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.144e-05/0.03677, allocations: 20.84 kB / 271.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.03678, allocations: 8 kB / 271.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005656/0.03735, allocations: 1.163 MB / 272.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.03735, allocations: 0 / 272.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.03786, allocations: 358.7 kB / 272.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.03791, allocations: 8 kB / 272.9 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.03803, allocations: 11.98 kB / 272.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.03808, allocations: 31.91 kB / 273 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.03809, allocations: 7.984 kB / 273 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.03831, allocations: 279.3 kB / 273.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03831, allocations: 4.031 kB / 273.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.03869, allocations: 160 kB / 273.4 MB, free: 352 kB / 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.0001435/0.03884, allocations: 100.3 kB / 273.5 MB, free: 240 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.03919, allocations: 341.5 kB / 273.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/0.03921, allocations: 12.5 kB / 273.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.03934, allocations: 196.2 kB / 274.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.03979, allocations: 229.5 kB / 274.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/0.0474, allocations: 1.383 MB / 275.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.04751, allocations: 154 kB / 275.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.04774, allocations: 81.56 kB / 275.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.04798, allocations: 193.2 kB / 276.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.313e-06/0.04798, allocations: 0 / 276.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Templates: time 0.0133/0.06129, allocations: 9.081 MB / 285.2 MB, free: 4.684 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.744747974909842]