Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.000866, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003186/0.003186, allocations: 145.3 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8173/0.8173, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.902e-05, allocations: 6.219 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.005469/0.005488, allocations: 7.046 MB / 326.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.007829, allocations: 2.45 MB / 329.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.008113, allocations: 31.81 kB / 329.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000758/0.008871, allocations: 496.8 kB / 329.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.009319, allocations: 448.5 kB / 330.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.009545, allocations: 215.6 kB / 330.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.01026, allocations: 1.286 MB / 331.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.01063, allocations: 350.5 kB / 332 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.01112, allocations: 0.7326 MB / 332.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.01147, allocations: 374.9 kB / 333.1 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.01155, allocations: 123.9 kB / 333.2 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.01171, allocations: 151.9 kB / 333.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.01182, allocations: 239.1 kB / 333.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.01206, allocations: 391.1 kB / 334 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009106/0.01297, allocations: 1.456 MB / 335.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01297, allocations: 4 kB / 335.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01297, allocations: 0 / 335.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.01298, allocations: 4 kB / 335.4 MB, free: 6.02 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001329/0.01431, allocations: 1.244 MB / 336.7 MB, free: 4.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.01435, allocations: 12.03 kB / 336.7 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.01462, allocations: 156.2 kB / 336.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.01528, allocations: 0.5835 MB / 337.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.01532, allocations: 62.38 kB / 337.5 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.01539, allocations: 92.3 kB / 337.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.01624, allocations: 0.8728 MB / 338.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.01626, allocations: 3.953 kB / 338.5 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.01631, allocations: 36 kB / 338.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.01633, allocations: 20 kB / 338.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.01697, allocations: 0.5387 MB / 339 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.01931, allocations: 2.936 MB / 342 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.01966, allocations: 226.7 kB / 342.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.01979, allocations: 112.8 kB / 342.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.01982, allocations: 7.938 kB / 342.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.01984, allocations: 34.56 kB / 342.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.01984, allocations: 0 / 342.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001292/0.02113, allocations: 0.9379 MB / 343.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.02118, allocations: 81.11 kB / 343.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/0.02175, allocations: 0.6954 MB / 344.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.02177, allocations: 29.7 kB / 344.1 MB, free: 12.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.022, allocations: 0.5381 MB / 344.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.02205, allocations: 107.1 kB / 344.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.02215, allocations: 118.2 kB / 344.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.02228, allocations: 386.6 kB / 345.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.02244, allocations: 129.2 kB / 345.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.02274, allocations: 472.2 kB / 345.8 MB, free: 11.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.02322, allocations: 0.6179 MB / 346.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.02322, allocations: 4 kB / 346.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006448/0.02387, allocations: 0.6423 MB / 347.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.02388, allocations: 8 kB / 347.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.02389, allocations: 12 kB / 347.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/0.024, allocations: 36.78 kB / 347.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.02424, allocations: 148.3 kB / 347.3 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006583/0.0249, allocations: 1.264 MB / 348.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.02512, allocations: 39.94 kB / 348.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.02514, allocations: 32 kB / 348.6 MB, free: 8.008 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.0001925/0.02534, allocations: 241.7 kB / 348.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.0254, allocations: 75.47 kB / 348.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.02577, allocations: 329 kB / 349.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02578, allocations: 4 kB / 349.3 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.02578, allocations: 0 / 349.3 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.02578, allocations: 0 / 349.3 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.02666, allocations: 0.9288 MB / 350.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02666, allocations: 0 / 350.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.02681, allocations: 67.89 kB / 350.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-05/0.02686, allocations: 25.06 kB / 350.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.02688, allocations: 12 kB / 350.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005846/0.02746, allocations: 1.256 MB / 351.5 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.02746, allocations: 4.031 kB / 351.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.02799, allocations: 0.5574 MB / 352.1 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.02811, allocations: 103.5 kB / 352.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.02815, allocations: 8 kB / 352.2 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.0283, allocations: 19.98 kB / 352.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.02836, allocations: 31.89 kB / 352.3 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.02837, allocations: 4 kB / 352.3 MB, free: 4.125 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000361/0.02873, allocations: 467 kB / 352.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02873, allocations: 3.938 kB / 352.7 MB, free: 3.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.02912, allocations: 175.9 kB / 352.9 MB, free: 3.5 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 (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.000167/0.02929, allocations: 115.2 kB / 353 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.02982, allocations: 465 kB / 353.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02982, allocations: 0 / 353.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.03001, allocations: 238.6 kB / 353.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.03052, allocations: 179.2 kB / 353.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.03207, allocations: 1.408 MB / 355.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.03231, allocations: 364.9 kB / 355.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.03239, allocations: 52.44 kB / 355.7 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03239, allocations: 3.938 kB / 355.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of Templates: time 0.01094/0.04333, allocations: 13.97 MB / 369.7 MB, free: 2.648 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.887415688484907]