Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.0008197/0.0008197, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003071/0.003071, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 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.8497/0.8497, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.025e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.005567/0.005587, allocations: 7.089 MB / 332.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.008014, allocations: 2.482 MB / 335.4 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003175/0.008331, allocations: 23.94 kB / 335.4 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.009153, allocations: 496.8 kB / 335.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.009646, allocations: 452.4 kB / 336.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.009898, allocations: 219.6 kB / 336.6 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.01067, allocations: 1.291 MB / 337.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.01105, allocations: 338.5 kB / 338.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005449/0.01159, allocations: 0.7365 MB / 338.9 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.01191, allocations: 386.8 kB / 339.3 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.012, allocations: 116 kB / 339.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.01217, allocations: 156 kB / 339.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.01227, allocations: 239 kB / 339.8 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.0125, allocations: 399 kB / 340.2 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009398/0.01344, allocations: 1.464 MB / 341.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01344, allocations: 4 kB / 341.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01344, allocations: 0 / 341.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.01345, allocations: 0 / 341.7 MB, free: 15.49 MB / 314.7 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.001275/0.01472, allocations: 1.24 MB / 342.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.01476, allocations: 8.031 kB / 342.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.01512, allocations: 180.2 kB / 343.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.01578, allocations: 0.5796 MB / 343.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.01582, allocations: 70.38 kB / 343.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.01589, allocations: 88.31 kB / 343.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.01673, allocations: 0.8728 MB / 344.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.01675, allocations: 11.89 kB / 344.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.0168, allocations: 32 kB / 344.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.01681, allocations: 24 kB / 344.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.01745, allocations: 0.5426 MB / 345.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.01979, allocations: 2.932 MB / 348.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.02012, allocations: 230.7 kB / 348.5 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.02026, allocations: 108.8 kB / 348.6 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.02028, allocations: 7.922 kB / 348.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.0203, allocations: 38.56 kB / 348.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.0203, allocations: 4 kB / 348.6 MB, free: 8.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001218/0.02152, allocations: 0.921 MB / 349.5 MB, free: 7.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.02156, allocations: 85.11 kB / 349.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.02208, allocations: 0.6876 MB / 350.3 MB, free: 6.473 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.0221, allocations: 29.7 kB / 350.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.02232, allocations: 0.5381 MB / 350.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.02238, allocations: 115 kB / 351 MB, free: 5.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.02248, allocations: 122.2 kB / 351.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.02258, allocations: 374.7 kB / 351.5 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.02274, allocations: 129.2 kB / 351.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.02303, allocations: 472.2 kB / 352.1 MB, free: 4.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.02351, allocations: 0.6138 MB / 352.7 MB, free: 3.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02351, allocations: 4 kB / 352.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006216/0.02414, allocations: 0.6468 MB / 353.3 MB, free: 3.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.02415, allocations: 12 kB / 353.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.02416, allocations: 8 kB / 353.3 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.02426, allocations: 40.78 kB / 353.4 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.02451, allocations: 151.7 kB / 353.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006217/0.02513, allocations: 1.26 MB / 354.8 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.02535, allocations: 43.89 kB / 354.8 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.02537, allocations: 32 kB / 354.9 MB, free: 1.469 MB / 314.7 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.0001971/0.02557, allocations: 237.5 kB / 355.1 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.02563, allocations: 71.52 kB / 355.2 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.026, allocations: 341.1 kB / 355.5 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.026, allocations: 0 / 355.5 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.026, allocations: 0 / 355.5 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.02601, allocations: 4 kB / 355.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008756/0.02688, allocations: 0.9258 MB / 356.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02689, allocations: 4 kB / 356.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.02703, allocations: 63.91 kB / 356.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-05/0.02708, allocations: 20.84 kB / 356.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.02709, allocations: 8 kB / 356.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005259/0.02761, allocations: 1.264 MB / 357.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02762, allocations: 3.938 kB / 357.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.02811, allocations: 0.5558 MB / 358.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.02822, allocations: 99.59 kB / 358.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.02826, allocations: 12 kB / 358.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.02842, allocations: 19.98 kB / 358.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.02847, allocations: 27.89 kB / 358.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.02848, allocations: 8 kB / 358.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003496/0.02883, allocations: 467 kB / 359 MB, free: 13.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02883, allocations: 0 / 359 MB, free: 13.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.0292, allocations: 164 kB / 359.1 MB, free: 12.98 MB / 330.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 (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.0001647/0.02936, allocations: 123.1 kB / 359.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000519/0.02988, allocations: 468.3 kB / 359.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.02988, allocations: 4 kB / 359.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.03008, allocations: 240.2 kB / 359.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.03058, allocations: 181.3 kB / 360.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.03194, allocations: 1.408 MB / 361.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.03216, allocations: 365 kB / 361.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.03224, allocations: 52.48 kB / 361.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03224, allocations: 3.938 kB / 361.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of Templates: time 0.009644/0.04188, allocations: 13.98 MB / 375.9 MB, free: 12.09 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.488115753978491]