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.0009811/0.0009811, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001054/0.001054, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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.9392/0.9392, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.757e-05, allocations: 4.531 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006133/0.006161, allocations: 7.083 MB / 331.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.0101, allocations: 2.482 MB / 334.1 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.01077, allocations: 23.94 kB / 334.2 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.0118, allocations: 0.489 MB / 334.7 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007318/0.01253, allocations: 452.5 kB / 335.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.0129, allocations: 227.5 kB / 335.3 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.01419, allocations: 1.287 MB / 336.6 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.01465, allocations: 342.5 kB / 336.9 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008261/0.01548, allocations: 0.7365 MB / 337.7 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.01585, allocations: 378.8 kB / 338 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.01595, allocations: 112 kB / 338.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.01615, allocations: 167.9 kB / 338.3 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.01626, allocations: 235.1 kB / 338.5 MB, free: 1.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.01652, allocations: 399 kB / 338.9 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.01761, allocations: 1.46 MB / 340.4 MB, free: 16 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.01762, allocations: 0 / 340.4 MB, free: 16 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01762, allocations: 0 / 340.4 MB, free: 16 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.01764, allocations: 0 / 340.4 MB, free: 16 kB / 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.001567/0.0192, allocations: 1.244 MB / 341.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.01925, allocations: 12.03 kB / 341.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.01936, allocations: 131.5 kB / 341.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.01975, allocations: 180.2 kB / 342 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009804/0.02073, allocations: 0.5835 MB / 342.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004935/0.02123, allocations: 66.38 kB / 342.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.02135, allocations: 84.38 kB / 342.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.02275, allocations: 0.8687 MB / 343.6 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.02281, allocations: 15.94 kB / 343.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.02287, allocations: 32 kB / 343.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.02288, allocations: 20 kB / 343.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.02362, allocations: 0.5387 MB / 344.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.02665, allocations: 3.064 MB / 347.2 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.02704, allocations: 238.7 kB / 347.5 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.02718, allocations: 100.8 kB / 347.6 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.0272, allocations: 7.938 kB / 347.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.02722, allocations: 46.55 kB / 347.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.02723, allocations: 0 / 347.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001461/0.02869, allocations: 0.9365 MB / 348.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.02875, allocations: 85.11 kB / 348.6 MB, free: 7.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.0295, allocations: 0.7778 MB / 349.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.02952, allocations: 37.69 kB / 349.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.02978, allocations: 0.519 MB / 350 MB, free: 6.039 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.02984, allocations: 111.1 kB / 350.1 MB, free: 5.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.02996, allocations: 118.2 kB / 350.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.03009, allocations: 386.7 kB / 350.6 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.03026, allocations: 129.2 kB / 350.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.03058, allocations: 480.1 kB / 351.2 MB, free: 4.672 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.03111, allocations: 0.6098 MB / 351.8 MB, free: 3.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.03111, allocations: 4 kB / 351.8 MB, free: 3.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007035/0.03182, allocations: 0.6507 MB / 352.4 MB, free: 3.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.03184, allocations: 12 kB / 352.4 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.03186, allocations: 8 kB / 352.4 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.032, allocations: 36.84 kB / 352.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.03227, allocations: 155.7 kB / 352.6 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008896/0.03316, allocations: 1.287 MB / 353.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.03347, allocations: 39.94 kB / 354 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.0335, allocations: 35.98 kB / 354 MB, free: 1.562 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.0002323/0.03373, allocations: 245.5 kB / 354.2 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.0338, allocations: 79.58 kB / 354.3 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.0342, allocations: 333.9 kB / 354.6 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.0342, allocations: 4 kB / 354.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.03421, allocations: 0 / 354.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.03421, allocations: 4 kB / 354.6 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.03528, allocations: 1.031 MB / 355.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.03529, allocations: 0 / 355.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.03545, allocations: 59.95 kB / 355.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.213e-05/0.03551, allocations: 32.78 kB / 355.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.03552, allocations: 8 kB / 355.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006455/0.03617, allocations: 1.268 MB / 357 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.03617, allocations: 7.969 kB / 357 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/0.03674, allocations: 0.5636 MB / 357.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.03689, allocations: 103.6 kB / 357.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.03693, allocations: 15.94 kB / 357.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.0371, allocations: 23.97 kB / 357.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.03716, allocations: 19.97 kB / 357.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.03717, allocations: 8 kB / 357.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004622/0.03764, allocations: 0.5224 MB / 358.3 MB, free: 13 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.03764, allocations: 0 / 358.3 MB, free: 13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.03808, allocations: 172 kB / 358.5 MB, free: 12.83 MB / 330.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.0009789/0.03906, allocations: 1.138 MB / 359.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006123/0.03967, allocations: 476.8 kB / 360.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.03968, allocations: 8 kB / 360.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.03988, allocations: 238.4 kB / 360.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.04045, allocations: 178.2 kB / 360.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/0.04677, allocations: 6.456 MB / 366.9 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.047, allocations: 361.3 kB / 367.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.04722, allocations: 90.17 kB / 367.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.04747, allocations: 324.3 kB / 367.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.04747, allocations: 0 / 367.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.07769, allocations: 17.66 MB / 385.4 MB, free: 1.688 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.391, allocations: 2.75 kB / 385.4 MB, free: 1.688 MB / 346.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.24515818618238]