Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001318/0.001318, allocations: 87.66 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001424/0.001424, allocations: 165.8 kB / 23.95 MB, free: 4.148 MB / 14.72 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.514/1.514, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.876e-05, allocations: 3.406 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009295/0.009324, allocations: 7.077 MB / 332.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004895/0.01422, allocations: 2.484 MB / 334.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.01468, allocations: 27.28 kB / 334.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.01594, allocations: 0.492 MB / 335.1 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008911/0.01684, allocations: 448.5 kB / 335.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.01728, allocations: 215.2 kB / 335.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.01868, allocations: 1.292 MB / 337 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.01928, allocations: 340.3 kB / 337.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009871/0.02026, allocations: 0.7415 MB / 338.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.02086, allocations: 387.3 kB / 338.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.02102, allocations: 115 kB / 338.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.02135, allocations: 150.5 kB / 338.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.02158, allocations: 244.3 kB / 339 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005273/0.02211, allocations: 391.5 kB / 339.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.02379, allocations: 1.467 MB / 340.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.0238, allocations: 0 / 340.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0238, allocations: 0 / 340.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.02381, allocations: 0 / 340.8 MB, free: 5.188 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002407/0.02622, allocations: 1.24 MB / 342.1 MB, free: 3.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.02626, allocations: 19.98 kB / 342.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000742/0.027, allocations: 180.1 kB / 342.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.02811, allocations: 0.5796 MB / 342.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.02818, allocations: 62.38 kB / 342.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.02831, allocations: 88.31 kB / 343 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.02986, allocations: 0.8728 MB / 343.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.0299, allocations: 15.88 kB / 343.9 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.02997, allocations: 36 kB / 343.9 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.02999, allocations: 20 kB / 343.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.03118, allocations: 0.5387 MB / 344.5 MB, free: 1.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.03542, allocations: 2.936 MB / 347.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.03596, allocations: 230.7 kB / 347.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.03623, allocations: 112.8 kB / 347.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.03626, allocations: 7.938 kB / 347.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.03628, allocations: 38.5 kB / 347.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.694e-06/0.03629, allocations: 0 / 347.8 MB, free: 13.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002152/0.03844, allocations: 0.9238 MB / 348.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.0385, allocations: 81.11 kB / 348.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.03941, allocations: 0.6915 MB / 349.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.03944, allocations: 33.69 kB / 349.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.03984, allocations: 0.5303 MB / 350.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.03995, allocations: 115 kB / 350.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.04011, allocations: 118.2 kB / 350.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.04031, allocations: 382.6 kB / 350.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.04062, allocations: 129.2 kB / 350.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.04122, allocations: 472.2 kB / 351.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009714/0.04219, allocations: 0.6179 MB / 351.9 MB, free: 9.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.04219, allocations: 7.938 kB / 351.9 MB, free: 9.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001206/0.0434, allocations: 0.6385 MB / 352.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.04342, allocations: 8 kB / 352.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.04344, allocations: 12 kB / 352.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.0436, allocations: 32.84 kB / 352.6 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.04409, allocations: 156.2 kB / 352.7 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.04523, allocations: 1.264 MB / 354 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.04571, allocations: 43.89 kB / 354 MB, free: 7.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.04576, allocations: 35.98 kB / 354.1 MB, free: 7.152 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0003456/0.0461, allocations: 241.7 kB / 354.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.04622, allocations: 71.52 kB / 354.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.04695, allocations: 333.2 kB / 354.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.04695, allocations: 4.047 kB / 354.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.04696, allocations: 3.984 kB / 354.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.04697, allocations: 3.984 kB / 354.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.04858, allocations: 0.9219 MB / 355.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.04858, allocations: 0 / 355.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.0489, allocations: 67.89 kB / 355.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-05/0.04898, allocations: 20.86 kB / 355.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.049, allocations: 8.219 kB / 355.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.05002, allocations: 1.248 MB / 357 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.05003, allocations: 7.969 kB / 357 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.05101, allocations: 0.557 MB / 357.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.0512, allocations: 91.53 kB / 357.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/0.05129, allocations: 12 kB / 357.6 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.05163, allocations: 23.97 kB / 357.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.05171, allocations: 27.91 kB / 357.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.05173, allocations: 7.984 kB / 357.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006082/0.05234, allocations: 467 kB / 358.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05234, allocations: 3.938 kB / 358.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006646/0.053, allocations: 168 kB / 358.3 MB, free: 2.664 MB / 318.1 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 (28): * Single equations (assignments): 27 * 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.0002228/0.05322, allocations: 131 kB / 358.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.05416, allocations: 464.2 kB / 358.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.05416, allocations: 0 / 358.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.05457, allocations: 242.4 kB / 359.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.0555, allocations: 180.3 kB / 359.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.05779, allocations: 1.366 MB / 360.7 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.05823, allocations: 365 kB / 361 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002849/0.05851, allocations: 89.55 kB / 361.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.05863, allocations: 44.5 kB / 361.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.05863, allocations: 0 / 361.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Templates: time 0.01742/0.07606, allocations: 8.224 MB / 369.4 MB, free: 7.629 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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: 4.817051198333502]