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.001171/0.001171, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001818/0.002989, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001119/0.001119, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002587, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.09/1.09, allocations: 173.4 MB / 185.8 MB, free: 8.977 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07951/1.169, allocations: 52.5 MB / 238.3 MB, free: 4.418 MB / 234.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.312e-06/1.312e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.788e-05, allocations: 3.859 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006784/0.006802, allocations: 7.852 MB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004431/0.01123, allocations: 2.667 MB / 250.1 MB, free: 8.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.01188, allocations: 27.88 kB / 250.1 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.01295, allocations: 0.489 MB / 250.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.01377, allocations: 460.4 kB / 251.1 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.01421, allocations: 211.6 kB / 251.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.01544, allocations: 1.291 MB / 252.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.01588, allocations: 354.5 kB / 252.9 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.01692, allocations: 0.8486 MB / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.01751, allocations: 406.8 kB / 254.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.01762, allocations: 116 kB / 254.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.01789, allocations: 159.9 kB / 254.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.01799, allocations: 179.4 kB / 254.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.01825, allocations: 335.4 kB / 254.9 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00098/0.01923, allocations: 0.7627 MB / 255.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.01925, allocations: 0 / 255.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01925, allocations: 0 / 255.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.01927, allocations: 0 / 255.7 MB, free: 2.941 MB / 250.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.001266/0.02054, allocations: 1.426 MB / 257.1 MB, free: 1.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.02057, allocations: 12.03 kB / 257.1 MB, free: 1.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.02089, allocations: 261.9 kB / 257.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.0214, allocations: 456.6 kB / 257.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.02143, allocations: 66.38 kB / 257.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.0215, allocations: 92.3 kB / 258 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.02204, allocations: 0.6499 MB / 258.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.02206, allocations: 7.953 kB / 258.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.0221, allocations: 31.94 kB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.02211, allocations: 24 kB / 258.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002371/0.02235, allocations: 209.8 kB / 258.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.0244, allocations: 2.622 MB / 261.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.02461, allocations: 131 kB / 261.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.02466, allocations: 52.83 kB / 261.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.02468, allocations: 4 kB / 261.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.02471, allocations: 42.5 kB / 261.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.02471, allocations: 0 / 261.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001012/0.02572, allocations: 0.5396 MB / 262.3 MB, free: 12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.02575, allocations: 59.41 kB / 262.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.02613, allocations: 0.6105 MB / 262.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.02614, allocations: 29.7 kB / 263 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.02633, allocations: 484.3 kB / 263.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.02639, allocations: 111.1 kB / 263.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.02648, allocations: 126.1 kB / 263.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.02659, allocations: 386.6 kB / 264.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.926e-05/0.02664, allocations: 49.28 kB / 264.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.02682, allocations: 392.2 kB / 264.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.02711, allocations: 492.4 kB / 265 MB, free: 8.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02712, allocations: 0 / 265 MB, free: 8.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003615/0.02748, allocations: 434.2 kB / 265.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.02749, allocations: 8 kB / 265.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.02751, allocations: 12 kB / 265.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.665e-05/0.0276, allocations: 25.52 kB / 265.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.02789, allocations: 175.7 kB / 265.6 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005782/0.02847, allocations: 1.185 MB / 266.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.02867, allocations: 39.94 kB / 266.8 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.02869, allocations: 28.12 kB / 266.9 MB, free: 6.957 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.0001197/0.02881, allocations: 161.5 kB / 267 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.02886, allocations: 47.94 kB / 267.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.02905, allocations: 197 kB / 267.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02906, allocations: 4 kB / 267.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.02906, allocations: 0 / 267.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.02906, allocations: 3.984 kB / 267.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.02965, allocations: 0.605 MB / 267.9 MB, free: 5.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.02965, allocations: 4 kB / 267.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.02981, allocations: 71.89 kB / 267.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.0299, allocations: 59.56 kB / 268 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.322e-05/0.02995, allocations: 20.84 kB / 268 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.02997, allocations: 7.984 kB / 268 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007451/0.03071, allocations: 1.162 MB / 269.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.03071, allocations: 7.984 kB / 269.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.03099, allocations: 350.6 kB / 269.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.03104, allocations: 11.94 kB / 269.6 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.03117, allocations: 24.11 kB / 269.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.03121, allocations: 27.89 kB / 269.6 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.03122, allocations: 8 kB / 269.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.03144, allocations: 279.4 kB / 269.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.03144, allocations: 0 / 269.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.03178, allocations: 172 kB / 270.1 MB, free: 3.555 MB / 266.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.0001442/0.03192, allocations: 96.36 kB / 270.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.03225, allocations: 367.7 kB / 270.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/0.03227, allocations: 16.44 kB / 270.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.03238, allocations: 191.3 kB / 270.7 MB, free: 2.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.03284, allocations: 239.5 kB / 270.9 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/0.04067, allocations: 1.427 MB / 272.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.505e-05/0.04076, allocations: 153.8 kB / 272.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000205/0.04097, allocations: 85.66 kB / 272.6 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.04121, allocations: 205.2 kB / 272.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.04122, allocations: 0 / 272.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of Templates: time 0.01246/0.05368, allocations: 9.38 MB / 282.2 MB, free: 7.496 MB / 282.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] 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","",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.8994309287518263]