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.001294/0.001294, allocations: 80.95 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001366/0.001366, allocations: 149.6 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.407/1.407, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.884e-06/1.884e-06, allocations: 0 / 318.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.351e-05, allocations: 2.281 kB / 318.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00761/0.007634, allocations: 7.046 MB / 326 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.01218, allocations: 2.446 MB / 328.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005387/0.01272, allocations: 26.88 kB / 328.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.01399, allocations: 484.8 kB / 328.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009327/0.01492, allocations: 453 kB / 329.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.0154, allocations: 223.9 kB / 329.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.01677, allocations: 1.29 MB / 330.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/0.01735, allocations: 347.8 kB / 331.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009273/0.01828, allocations: 0.7303 MB / 331.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006115/0.01889, allocations: 381.8 kB / 332.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.01903, allocations: 114.8 kB / 332.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.01933, allocations: 154.2 kB / 332.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.01955, allocations: 245.6 kB / 332.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.02002, allocations: 399.2 kB / 333.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.02166, allocations: 1.458 MB / 334.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.02166, allocations: 0 / 334.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02166, allocations: 0 / 334.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.02168, allocations: 1.25 kB / 334.7 MB, free: 9.633 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.002278/0.02396, allocations: 1.247 MB / 335.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.024, allocations: 9.438 kB / 335.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005226/0.02452, allocations: 157.2 kB / 336.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.02562, allocations: 0.5801 MB / 336.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.02568, allocations: 63.38 kB / 336.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.02581, allocations: 91.33 kB / 336.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.02726, allocations: 0.8793 MB / 337.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.02729, allocations: 1.688 kB / 337.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.02737, allocations: 35.94 kB / 337.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.02739, allocations: 20.31 kB / 337.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.02852, allocations: 0.5389 MB / 338.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.03274, allocations: 2.939 MB / 341.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.03329, allocations: 220.1 kB / 341.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.03356, allocations: 112 kB / 341.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.03359, allocations: 7.125 kB / 341.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.03362, allocations: 33.22 kB / 341.6 MB, free: 4.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.224e-06/0.03362, allocations: 0 / 341.6 MB, free: 4.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002266/0.03589, allocations: 0.9331 MB / 342.5 MB, free: 3.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.03595, allocations: 81.11 kB / 342.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/0.03689, allocations: 0.6954 MB / 343.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.03693, allocations: 29.7 kB / 343.3 MB, free: 2.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.03734, allocations: 0.5342 MB / 343.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.03743, allocations: 119.1 kB / 344 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.03761, allocations: 118.2 kB / 344.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.0378, allocations: 374.7 kB / 344.5 MB, free: 1.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.03811, allocations: 133.2 kB / 344.6 MB, free: 1.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.03869, allocations: 472.1 kB / 345 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/0.03961, allocations: 0.6138 MB / 345.7 MB, free: 176 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.03961, allocations: 0 / 345.7 MB, free: 176 kB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001227/0.04084, allocations: 0.6431 MB / 346.3 MB, free: 15.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.04086, allocations: 8 kB / 346.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.04088, allocations: 16.06 kB / 346.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.04104, allocations: 36.84 kB / 346.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.04154, allocations: 151.7 kB / 346.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.04265, allocations: 1.268 MB / 347.8 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.04314, allocations: 44.03 kB / 347.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.04319, allocations: 39.98 kB / 347.9 MB, free: 13.85 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.000332/0.04352, allocations: 240.7 kB / 348.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.04363, allocations: 75.47 kB / 348.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.04437, allocations: 328.9 kB / 348.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.04438, allocations: 8 kB / 348.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.04438, allocations: 0 / 348.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.04439, allocations: 3.984 kB / 348.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.04602, allocations: 0.918 MB / 349.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.04603, allocations: 4.219 kB / 349.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.04633, allocations: 63.89 kB / 349.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.759e-05/0.04642, allocations: 20.86 kB / 349.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.04644, allocations: 8 kB / 349.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.04744, allocations: 1.24 MB / 350.8 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.04745, allocations: 8.188 kB / 350.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.04847, allocations: 0.5689 MB / 351.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.04868, allocations: 91.58 kB / 351.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.04877, allocations: 8 kB / 351.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.04911, allocations: 23.97 kB / 351.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.04919, allocations: 35.84 kB / 351.5 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.04922, allocations: 15.98 kB / 351.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006502/0.04987, allocations: 463 kB / 352 MB, free: 9.531 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04987, allocations: 0 / 352 MB, free: 9.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007337/0.0506, allocations: 171.9 kB / 352.1 MB, free: 9.363 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.0002243/0.05083, allocations: 115.3 kB / 352.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009919/0.05182, allocations: 476.3 kB / 352.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.05182, allocations: 0 / 352.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.05224, allocations: 234.5 kB / 352.9 MB, free: 8.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.05323, allocations: 178.1 kB / 353.1 MB, free: 8.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.05581, allocations: 1.383 MB / 354.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.05621, allocations: 365 kB / 354.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.05651, allocations: 81.56 kB / 354.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.05663, allocations: 44.5 kB / 355 MB, free: 6.406 MB / 318.1 MB Notification: Performance of SimCode: time 1.173e-06/0.05663, allocations: 0 / 355 MB, free: 6.406 MB / 318.1 MB Notification: Performance of Templates: time 0.01747/0.0741, allocations: 8.209 MB / 363.2 MB, free: 14.38 MB / 334.1 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.5453888066112995]