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.0008067/0.0008067, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009949/0.001802, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001087/0.001087, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008974/0.001984, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9327/0.9327, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08194/1.015, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.563e-06/1.563e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.061e-05, allocations: 6.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006093/0.006113, allocations: 7.88 MB / 252.4 MB, free: 6.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.009404, allocations: 2.687 MB / 255.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.009816, allocations: 27.88 kB / 255.1 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008101/0.01063, allocations: 0.4891 MB / 255.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000625/0.01125, allocations: 452.4 kB / 256.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.01157, allocations: 223.6 kB / 256.3 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009378/0.01251, allocations: 1.291 MB / 257.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.0129, allocations: 362.5 kB / 257.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008528/0.01375, allocations: 0.8487 MB / 258.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.01414, allocations: 414.8 kB / 259.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.01423, allocations: 116 kB / 259.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.01445, allocations: 156 kB / 259.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.01454, allocations: 179.4 kB / 259.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.01479, allocations: 339.4 kB / 259.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.01545, allocations: 0.7665 MB / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.01546, allocations: 0 / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01546, allocations: 0 / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.01548, allocations: 0 / 260.7 MB, free: 14.03 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001251/0.01673, allocations: 1.426 MB / 262.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.01676, allocations: 8.031 kB / 262.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003912/0.01715, allocations: 285.9 kB / 262.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.01766, allocations: 460.5 kB / 262.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.0177, allocations: 62.38 kB / 262.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.01777, allocations: 96.31 kB / 263 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.0183, allocations: 0.646 MB / 263.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.01832, allocations: 3.984 kB / 263.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.01835, allocations: 36 kB / 263.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.01837, allocations: 24 kB / 263.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.0186, allocations: 205.8 kB / 263.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.02063, allocations: 2.622 MB / 266.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.02082, allocations: 140.8 kB / 266.7 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.02087, allocations: 44.84 kB / 266.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.02089, allocations: 4 kB / 266.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.02092, allocations: 42.5 kB / 266.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.262e-06/0.02092, allocations: 0 / 266.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007394/0.02166, allocations: 0.5419 MB / 267.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.02168, allocations: 67.34 kB / 267.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.02207, allocations: 0.6067 MB / 268 MB, free: 6.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.02209, allocations: 29.7 kB / 268 MB, free: 6.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.02225, allocations: 480.2 kB / 268.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.0223, allocations: 115 kB / 268.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.02239, allocations: 126.2 kB / 268.7 MB, free: 5.621 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.02248, allocations: 382.6 kB / 269.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.02253, allocations: 49.28 kB / 269.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.02271, allocations: 396.1 kB / 269.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.02299, allocations: 492.7 kB / 270 MB, free: 4.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02299, allocations: 0 / 270 MB, free: 4.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003557/0.02335, allocations: 425.9 kB / 270.4 MB, free: 3.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.02336, allocations: 10.97 kB / 270.5 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.02337, allocations: 19.98 kB / 270.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-05/0.02347, allocations: 37.56 kB / 270.5 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.02375, allocations: 167.7 kB / 270.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005163/0.02427, allocations: 1.178 MB / 271.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.02446, allocations: 44.06 kB / 271.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.02448, allocations: 24 kB / 271.9 MB, free: 2.027 MB / 266.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.0001341/0.02461, allocations: 161.5 kB / 272.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.02466, allocations: 47.94 kB / 272.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.02485, allocations: 197.3 kB / 272.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.02485, allocations: 4 kB / 272.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.02486, allocations: 0 / 272.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.02486, allocations: 0 / 272.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.02544, allocations: 0.6023 MB / 272.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.02545, allocations: 7.984 kB / 272.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.02559, allocations: 67.91 kB / 273 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.02569, allocations: 67.52 kB / 273.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-05/0.02574, allocations: 16.84 kB / 273.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.02575, allocations: 12.22 kB / 273.1 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005219/0.02627, allocations: 1.163 MB / 274.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.02627, allocations: 7.938 kB / 274.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.02653, allocations: 354.4 kB / 274.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.02657, allocations: 12.06 kB / 274.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.0267, allocations: 16 kB / 274.6 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.02674, allocations: 31.89 kB / 274.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.02675, allocations: 4 kB / 274.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.02695, allocations: 283.4 kB / 274.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02695, allocations: 0 / 274.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.02744, allocations: 171.9 kB / 275.1 MB, free: 14.62 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 (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.0001573/0.0276, allocations: 108.3 kB / 275.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.02796, allocations: 361.8 kB / 275.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.246e-05/0.02798, allocations: 12.5 kB / 275.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.0281, allocations: 196.2 kB / 275.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.02856, allocations: 231.7 kB / 276 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/0.03648, allocations: 1.423 MB / 277.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.03658, allocations: 153.8 kB / 277.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.03678, allocations: 85.66 kB / 277.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.03703, allocations: 209.2 kB / 277.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.03703, allocations: 0 / 277.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of Templates: time 0.01289/0.04992, allocations: 9.406 MB / 287.3 MB, free: 2.539 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.663629751652479]