Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008692/0.0008692, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.000897/0.000897, allocations: 167.1 kB / 25.7 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7794/0.7794, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.312e-05, allocations: 6.25 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007104/0.007117, allocations: 7.73 MB / 259.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.01025, allocations: 2.649 MB / 261.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.01059, allocations: 27.88 kB / 261.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.01141, allocations: 496.8 kB / 262.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.01196, allocations: 448.4 kB / 262.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.01223, allocations: 223.5 kB / 263.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00079/0.01302, allocations: 1.29 MB / 264.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.01337, allocations: 350.5 kB / 264.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005268/0.0139, allocations: 0.7404 MB / 265.5 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.01426, allocations: 410.8 kB / 265.9 MB, free: 8.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.01435, allocations: 116 kB / 266 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.01451, allocations: 147.9 kB / 266.1 MB, free: 8.578 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.01463, allocations: 243 kB / 266.4 MB, free: 8.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.01487, allocations: 399.1 kB / 266.7 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.01546, allocations: 0.7939 MB / 267.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.01546, allocations: 0 / 267.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01546, allocations: 0 / 267.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01547, allocations: 0 / 267.5 MB, free: 7.152 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.001052/0.01652, allocations: 1.215 MB / 268.8 MB, free: 5.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.01654, allocations: 11.98 kB / 268.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.01681, allocations: 184.7 kB / 268.9 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.01728, allocations: 468.6 kB / 269.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.01731, allocations: 62.38 kB / 269.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.01738, allocations: 96.3 kB / 269.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.01788, allocations: 0.646 MB / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.0179, allocations: 7.984 kB / 270.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.01794, allocations: 32 kB / 270.2 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.01795, allocations: 24 kB / 270.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.01818, allocations: 209.8 kB / 270.5 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.02018, allocations: 2.602 MB / 273.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.02036, allocations: 130.5 kB / 273.2 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.02041, allocations: 52.78 kB / 273.3 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.02043, allocations: 4 kB / 273.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.02045, allocations: 34.94 kB / 273.3 MB, free: 1.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.02045, allocations: 4 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006933/0.02114, allocations: 0.5515 MB / 273.8 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.02117, allocations: 81.11 kB / 273.9 MB, free: 424 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.02156, allocations: 0.6067 MB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.02158, allocations: 33.7 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.02176, allocations: 484.2 kB / 275 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.02181, allocations: 115 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.0219, allocations: 122.2 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.022, allocations: 382.6 kB / 275.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.02205, allocations: 49.28 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.02225, allocations: 400.2 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.02255, allocations: 492.6 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02256, allocations: 4 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003574/0.02292, allocations: 414.4 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.02293, allocations: 15.94 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.02294, allocations: 12 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.438e-05/0.02302, allocations: 32.84 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.02326, allocations: 147.7 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005017/0.02376, allocations: 1.182 MB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.02396, allocations: 31.95 kB / 278.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.02398, allocations: 31.98 kB / 278.4 MB, free: 11.48 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.0001281/0.02411, allocations: 161.5 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.02416, allocations: 52.08 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.02436, allocations: 201 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.02436, allocations: 4 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.02436, allocations: 0 / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.02437, allocations: 3.984 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.02494, allocations: 0.5945 MB / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02494, allocations: 4.219 kB / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.02507, allocations: 63.91 kB / 279.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.981e-05/0.02512, allocations: 20.84 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.02513, allocations: 8 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004514/0.02558, allocations: 1.151 MB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02558, allocations: 4.031 kB / 280.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.02583, allocations: 371 kB / 281 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/0.02593, allocations: 55.58 kB / 281.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.02597, allocations: 11.98 kB / 281.1 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.0261, allocations: 19.94 kB / 281.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.02614, allocations: 27.89 kB / 281.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.02615, allocations: 8 kB / 281.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.02636, allocations: 283.4 kB / 281.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02636, allocations: 0 / 281.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.0267, allocations: 175.9 kB / 281.6 MB, free: 8.082 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.0001216/0.02682, allocations: 96.33 kB / 281.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.02714, allocations: 361.8 kB / 282.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/0.02716, allocations: 9.312 kB / 282.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.02728, allocations: 199.6 kB / 282.3 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.02769, allocations: 194.6 kB / 282.4 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.02919, allocations: 1.31 MB / 283.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.02928, allocations: 153.7 kB / 283.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.02946, allocations: 85.55 kB / 284 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.0297, allocations: 209.2 kB / 284.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.0297, allocations: 0 / 284.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of Templates: time 0.01173/0.04143, allocations: 8.88 MB / 293.1 MB, free: 12.55 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.744578010868281]