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.001437/0.001437, allocations: 124.3 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002088/0.002088, allocations: 203.3 kB / 20.74 MB, free: 2.281 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001514/0.001514, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 53.34 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.2313/0.3354, allocations: 8.013 MB / 434.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004309/0.3397, allocations: 2.656 MB / 437 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.3409, allocations: 22.88 kB / 437 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.3426, allocations: 0.5198 MB / 437.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.3439, allocations: 435.7 kB / 438 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3444, allocations: 212.7 kB / 438.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001711/0.3461, allocations: 1.235 MB / 439.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.3468, allocations: 370.1 kB / 439.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009491/0.3477, allocations: 0.4983 MB / 440.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.3485, allocations: 0.5178 MB / 440.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.3488, allocations: 118.9 kB / 440.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.3492, allocations: 159.5 kB / 441.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.3493, allocations: 223.9 kB / 441.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000557/0.3499, allocations: 0.5686 MB / 441.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.3519, allocations: 1.471 MB / 443.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3519, allocations: 0.9062 kB / 443.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3519, allocations: 0 / 443.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-05/0.352, allocations: 4 kB / 443.3 MB, free: 3.125 MB / 350.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.002723/0.3547, allocations: 1.336 MB / 444.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3547, allocations: 10.88 kB / 444.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.3549, allocations: 130.8 kB / 444.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007895/0.3557, allocations: 182.6 kB / 445 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3569, allocations: 0.6426 MB / 445.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.3569, allocations: 67.5 kB / 445.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3571, allocations: 84.55 kB / 445.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.3586, allocations: 0.8188 MB / 446.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.3586, allocations: 6.938 kB / 446.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.3587, allocations: 35.27 kB / 446.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3587, allocations: 21 kB / 446.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3598, allocations: 0.5457 MB / 447.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/0.3646, allocations: 3.56 MB / 450.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.3651, allocations: 225.6 kB / 451 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.3654, allocations: 115 kB / 451.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.3654, allocations: 3.344 kB / 451.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3655, allocations: 36.48 kB / 451.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.749e-05/0.3655, allocations: 5.062 kB / 451.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002416/0.3679, allocations: 1.091 MB / 452.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.368, allocations: 80.7 kB / 452.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.3691, allocations: 0.7682 MB / 453.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.3692, allocations: 34.86 kB / 453.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004565/0.3697, allocations: 0.5208 MB / 453.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.3698, allocations: 120.9 kB / 453.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.37, allocations: 121.8 kB / 453.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.3702, allocations: 382.6 kB / 454.2 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.3705, allocations: 133.8 kB / 454.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.3711, allocations: 449.5 kB / 454.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009103/0.372, allocations: 0.6171 MB / 455.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.372, allocations: 2.812 kB / 455.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001298/0.3733, allocations: 0.6488 MB / 456.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.3733, allocations: 14.53 kB / 456.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.3733, allocations: 9.625 kB / 456.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.3735, allocations: 46.17 kB / 456.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.374, allocations: 149.4 kB / 456.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.3752, allocations: 1.385 MB / 457.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.3759, allocations: 39.12 kB / 457.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.3759, allocations: 40.09 kB / 457.7 MB, free: 9.164 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.0003799/0.3763, allocations: 242.4 kB / 458 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3764, allocations: 79.02 kB / 458.1 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.3772, allocations: 329.6 kB / 458.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3772, allocations: 3.531 kB / 458.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3772, allocations: 3.938 kB / 458.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3772, allocations: 8.078 kB / 458.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.3791, allocations: 1.112 MB / 459.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3791, allocations: 2.281 kB / 459.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.3794, allocations: 65.92 kB / 459.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.3795, allocations: 25.3 kB / 459.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.3796, allocations: 8.875 kB / 459.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3807, allocations: 1.371 MB / 461 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3807, allocations: 1.25 kB / 461 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3817, allocations: 0.579 MB / 461.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.3821, allocations: 179.5 kB / 461.7 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3822, allocations: 9.766 kB / 461.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.3825, allocations: 18.95 kB / 461.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.3826, allocations: 30.86 kB / 461.8 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3827, allocations: 20.56 kB / 461.8 MB, free: 6.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008492/0.3835, allocations: 0.5193 MB / 462.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3835, allocations: 0 / 462.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009344/0.3844, allocations: 166.9 kB / 462.5 MB, free: 5.855 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.001586/0.386, allocations: 1.15 MB / 463.6 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.3872, allocations: 464.6 kB / 464.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3872, allocations: 4.188 kB / 464.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.3876, allocations: 242.8 kB / 464.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3887, allocations: 189.7 kB / 464.5 MB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.4001, allocations: 6.532 MB / 471.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.4008, allocations: 0.9504 MB / 472 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.4012, allocations: 92.47 kB / 472.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.4016, allocations: 317.3 kB / 472.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4016, allocations: 0 / 472.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06808/0.4697, allocations: 16.19 MB / 488.6 MB, free: 1.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.28, allocations: 15.38 kB / 488.6 MB, free: 1.277 MB / 382.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/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] "Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.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.537397982989205]