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.001091/0.001091, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002673, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001089/0.001089, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.00257, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9595/0.9595, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08283/1.042, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.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.412e-06/1.412e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.275e-05, allocations: 9.406 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008472/0.008484, allocations: 7.082 MB / 252.3 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005006/0.01349, allocations: 2.488 MB / 254.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006922/0.01418, allocations: 23.88 kB / 254.8 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.01554, allocations: 488.8 kB / 255.3 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.01652, allocations: 440.6 kB / 255.7 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.01681, allocations: 207.7 kB / 255.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009508/0.01776, allocations: 1.249 MB / 257.2 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.01814, allocations: 332.4 kB / 257.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.01899, allocations: 0.8213 MB / 258.3 MB, free: 348 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.0194, allocations: 394.8 kB / 258.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.01951, allocations: 112 kB / 258.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.01973, allocations: 151.9 kB / 259 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.01982, allocations: 171.4 kB / 259.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.02006, allocations: 327.4 kB / 259.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.02073, allocations: 0.7278 MB / 260.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.02074, allocations: 0 / 260.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02074, allocations: 0 / 260.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.02076, allocations: 0 / 260.2 MB, free: 14.48 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.001263/0.02202, allocations: 1.36 MB / 261.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.02205, allocations: 8.031 kB / 261.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.02239, allocations: 257.8 kB / 261.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.02295, allocations: 470.8 kB / 262.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.02298, allocations: 58.38 kB / 262.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.02306, allocations: 92.27 kB / 262.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.02364, allocations: 0.6034 MB / 263 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.02367, allocations: 8.125 kB / 263 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.0237, allocations: 35.94 kB / 263 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.02371, allocations: 16 kB / 263.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.02397, allocations: 209.8 kB / 263.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.02683, allocations: 2.605 MB / 265.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.02701, allocations: 126.5 kB / 266 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.02706, allocations: 44.84 kB / 266 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.02708, allocations: 4 kB / 266 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.0271, allocations: 38.56 kB / 266.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.152e-06/0.0271, allocations: 0 / 266.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.000722/0.02782, allocations: 0.5406 MB / 266.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.02784, allocations: 55.64 kB / 266.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.02823, allocations: 0.6028 MB / 267.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.02825, allocations: 29.7 kB / 267.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.02843, allocations: 456.4 kB / 267.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.02849, allocations: 111.1 kB / 267.9 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.02858, allocations: 114.2 kB / 268 MB, free: 6.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.02868, allocations: 382.6 kB / 268.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.02873, allocations: 45.28 kB / 268.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.02891, allocations: 375.8 kB / 268.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.02921, allocations: 485.3 kB / 269.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.02921, allocations: 4 kB / 269.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004026/0.02962, allocations: 402 kB / 269.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.02963, allocations: 8 kB / 269.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.02964, allocations: 12 kB / 269.6 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.96e-05/0.02974, allocations: 33.44 kB / 269.7 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.03001, allocations: 155.8 kB / 269.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000607/0.03062, allocations: 1.175 MB / 271 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.03082, allocations: 27.95 kB / 271 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.03084, allocations: 24 kB / 271.1 MB, free: 2.793 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.0001363/0.03098, allocations: 157.7 kB / 271.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.03104, allocations: 55.88 kB / 271.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.03124, allocations: 181 kB / 271.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.03124, allocations: 4 kB / 271.4 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.03124, allocations: 3.938 kB / 271.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.03125, allocations: 0 / 271.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.03183, allocations: 0.587 MB / 272 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.03183, allocations: 4 kB / 272 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.03226, allocations: 67.89 kB / 272.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.03235, allocations: 59.58 kB / 272.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-05/0.03241, allocations: 16.84 kB / 272.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.03242, allocations: 8.047 kB / 272.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004757/0.0329, allocations: 1.166 MB / 273.4 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.0329, allocations: 3.938 kB / 273.4 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.03318, allocations: 359.2 kB / 273.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.03321, allocations: 8 kB / 273.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.03334, allocations: 16.11 kB / 273.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.03339, allocations: 31.95 kB / 273.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.0334, allocations: 12 kB / 273.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.03362, allocations: 279.3 kB / 274 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03362, allocations: 3.938 kB / 274 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000357/0.03398, allocations: 159.9 kB / 274.2 MB, free: 15.43 MB / 282.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.000181/0.03416, allocations: 108.3 kB / 274.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.03451, allocations: 355.1 kB / 274.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/0.03453, allocations: 8.5 kB / 274.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.03468, allocations: 198.7 kB / 274.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009038/0.03558, allocations: 1.758 MB / 276.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.04303, allocations: 1.391 MB / 278 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.04313, allocations: 146.1 kB / 278.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.04331, allocations: 85.55 kB / 278.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.04355, allocations: 197.2 kB / 278.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04355, allocations: 0 / 278.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of Templates: time 0.01241/0.05597, allocations: 8.714 MB / 287.1 MB, free: 2.211 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.595035197213292]