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.001705/0.001705, allocations: 124 kB / 17.79 MB, free: 5.266 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.00181/0.00181, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.489/1.489, allocations: 225.6 MB / 249.1 MB, free: 3.605 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_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_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 51.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 52.13 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009999/0.1126, allocations: 8.011 MB / 425.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.1174, allocations: 2.621 MB / 428.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008287/0.1182, allocations: 23.94 kB / 428.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.1197, allocations: 0.5204 MB / 429 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1208, allocations: 432.8 kB / 429.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.1213, allocations: 211.6 kB / 429.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1227, allocations: 1.241 MB / 430.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.1233, allocations: 374 kB / 431.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.124, allocations: 494.1 kB / 431.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.1247, allocations: 0.5211 MB / 432.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.1248, allocations: 116 kB / 432.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1251, allocations: 152 kB / 432.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.1253, allocations: 235.1 kB / 432.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.1258, allocations: 0.5638 MB / 433.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.1276, allocations: 1.463 MB / 434.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1276, allocations: 3.938 kB / 434.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1276, allocations: 0 / 434.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.1276, allocations: 0 / 434.7 MB, free: 11.56 MB / 366.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.00239/0.13, allocations: 1.343 MB / 436.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.13, allocations: 8.031 kB / 436.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.1302, allocations: 131.5 kB / 436.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.1307, allocations: 156.1 kB / 436.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.1318, allocations: 0.6537 MB / 437 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.1318, allocations: 70.11 kB / 437.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.132, allocations: 91.95 kB / 437.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1334, allocations: 0.8145 MB / 438 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.1334, allocations: 4 kB / 438 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.1335, allocations: 32 kB / 438 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.1335, allocations: 20 kB / 438 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.1346, allocations: 0.5387 MB / 438.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.1393, allocations: 3.563 MB / 442.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.1399, allocations: 230.6 kB / 442.4 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.1402, allocations: 105.5 kB / 442.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.1402, allocations: 11.98 kB / 442.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.1403, allocations: 38.56 kB / 442.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.985e-06/0.1403, allocations: 0 / 442.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002395/0.1426, allocations: 1.088 MB / 443.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.1427, allocations: 89.05 kB / 443.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1438, allocations: 0.7586 MB / 444.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1438, allocations: 29.7 kB / 444.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.1443, allocations: 0.5267 MB / 445 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1444, allocations: 119 kB / 445.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.1446, allocations: 122.2 kB / 445.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.1448, allocations: 382.8 kB / 445.6 MB, free: 152 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.1451, allocations: 133.2 kB / 445.7 MB, free: 16 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2161/0.3612, allocations: 443.6 kB / 446.2 MB, free: 29.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.362, allocations: 0.611 MB / 446.8 MB, free: 29.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.362, allocations: 4.719 kB / 446.8 MB, free: 29.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001222/0.3632, allocations: 0.6488 MB / 447.4 MB, free: 29.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.3633, allocations: 16.62 kB / 447.5 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3633, allocations: 9.906 kB / 447.5 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.3635, allocations: 32.8 kB / 447.5 MB, free: 29.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.3639, allocations: 153.9 kB / 447.7 MB, free: 29.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008249/0.3648, allocations: 1.384 MB / 449 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.3653, allocations: 41.94 kB / 449.1 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.3654, allocations: 33.22 kB / 449.1 MB, free: 27.79 MB / 366.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.0003808/0.3657, allocations: 247.1 kB / 449.4 MB, free: 27.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3658, allocations: 81.27 kB / 449.4 MB, free: 27.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.3665, allocations: 338.9 kB / 449.8 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3665, allocations: 2.906 kB / 449.8 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3665, allocations: 2.5 kB / 449.8 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3665, allocations: 0 / 449.8 MB, free: 27.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.368, allocations: 1.114 MB / 450.9 MB, free: 27.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.368, allocations: 6.031 kB / 450.9 MB, free: 27.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3683, allocations: 61.05 kB / 450.9 MB, free: 27.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-05/0.3684, allocations: 27.7 kB / 451 MB, free: 27.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3684, allocations: 10.61 kB / 451 MB, free: 27.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006192/0.369, allocations: 1.366 MB / 452.4 MB, free: 25.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.369, allocations: 0 / 452.4 MB, free: 25.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.3698, allocations: 0.5761 MB / 452.9 MB, free: 25.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.37, allocations: 185.9 kB / 453.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.37, allocations: 13.5 kB / 453.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.3704, allocations: 20.23 kB / 453.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.3704, allocations: 26.3 kB / 453.2 MB, free: 25.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3705, allocations: 11.66 kB / 453.2 MB, free: 25.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006335/0.3711, allocations: 0.5177 MB / 453.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3711, allocations: 4 kB / 453.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006605/0.3717, allocations: 173.4 kB / 453.9 MB, free: 25.43 MB / 366.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.001097/0.3728, allocations: 1.15 MB / 455 MB, free: 24.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009137/0.3738, allocations: 476.6 kB / 455.5 MB, free: 24.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3738, allocations: 1.062 kB / 455.5 MB, free: 24.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.3741, allocations: 233.2 kB / 455.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.375, allocations: 188.9 kB / 455.9 MB, free: 24.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/0.3832, allocations: 6.52 MB / 462.4 MB, free: 20.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3837, allocations: 0.9516 MB / 463.4 MB, free: 19.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003803/0.3841, allocations: 92.53 kB / 463.5 MB, free: 19.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.3844, allocations: 315.5 kB / 463.8 MB, free: 19.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3844, allocations: 0 / 463.8 MB, free: 19.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.4326, allocations: 16.2 MB / 480 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 15.06 kB / 480 MB, free: 13.81 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/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] "Error: Could not read variable loadInertia.w in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.906379799824208]