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.001277/0.001277, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.001349/0.001349, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 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 1.41/1.41, allocations: 207.6 MB / 231.8 MB, free: 4.262 MB / 174.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 51.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09293, allocations: 49.13 MB / 391.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009925/0.1029, allocations: 7.957 MB / 399.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.1078, allocations: 2.622 MB / 402 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.1089, allocations: 23.94 kB / 402 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.1103, allocations: 0.532 MB / 402.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1115, allocations: 432.8 kB / 403 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.112, allocations: 223.6 kB / 403.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.1134, allocations: 1.233 MB / 404.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/0.114, allocations: 374 kB / 404.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.1147, allocations: 498.1 kB / 405.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00063/0.1153, allocations: 0.5172 MB / 405.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.1154, allocations: 120 kB / 405.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.1157, allocations: 156 kB / 406.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1159, allocations: 235.1 kB / 406.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.1164, allocations: 0.5599 MB / 406.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.118, allocations: 1.463 MB / 408.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.118, allocations: 0 / 408.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.118, allocations: 0 / 408.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.118, allocations: 0 / 408.3 MB, free: 7.727 MB / 334.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.002255/0.1203, allocations: 1.335 MB / 409.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1203, allocations: 16.03 kB / 409.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.1205, allocations: 139.4 kB / 409.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.1209, allocations: 152.2 kB / 410 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.122, allocations: 0.646 MB / 410.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.122, allocations: 70.06 kB / 410.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.1222, allocations: 87.95 kB / 410.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.1236, allocations: 0.8184 MB / 411.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.1236, allocations: 3.938 kB / 411.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.1237, allocations: 36 kB / 411.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.1237, allocations: 24 kB / 411.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1248, allocations: 0.5348 MB / 412.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004473/0.1292, allocations: 3.563 MB / 415.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.1298, allocations: 234.6 kB / 416 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.13, allocations: 108.8 kB / 416.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1301, allocations: 0 / 416.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1301, allocations: 42.56 kB / 416.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.1301, allocations: 0 / 416.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002229/0.1323, allocations: 1.094 MB / 417.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1324, allocations: 85.05 kB / 417.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1334, allocations: 0.7586 MB / 418 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.1334, allocations: 33.7 kB / 418.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.1338, allocations: 0.5267 MB / 418.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.889e-05/0.1339, allocations: 115.1 kB / 418.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1341, allocations: 122.2 kB / 418.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1343, allocations: 382.8 kB / 419.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.1346, allocations: 133.2 kB / 419.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.1351, allocations: 442.2 kB / 419.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008857/0.136, allocations: 0.6218 MB / 420.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.136, allocations: 0 / 420.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001149/0.1372, allocations: 0.6466 MB / 421 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1372, allocations: 11.94 kB / 421.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.1372, allocations: 12 kB / 421.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.1374, allocations: 36.84 kB / 421.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.1378, allocations: 147.7 kB / 421.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.139, allocations: 1.394 MB / 422.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.1395, allocations: 44.09 kB / 422.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.1395, allocations: 36 kB / 422.7 MB, free: 8.355 MB / 350.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.0003383/0.1399, allocations: 241.5 kB / 423 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.14, allocations: 79.48 kB / 423 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007215/0.1407, allocations: 337.9 kB / 423.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1407, allocations: 0 / 423.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1407, allocations: 7.938 kB / 423.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1407, allocations: 7.922 kB / 423.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.1425, allocations: 1.117 MB / 424.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1425, allocations: 4 kB / 424.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.1428, allocations: 55.91 kB / 424.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.1429, allocations: 29.06 kB / 424.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.1429, allocations: 8 kB / 424.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.144, allocations: 1.375 MB / 426 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.144, allocations: 0 / 426 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.1449, allocations: 0.5729 MB / 426.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.1452, allocations: 176.6 kB / 426.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.1452, allocations: 12 kB / 426.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.1456, allocations: 27.91 kB / 426.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.1456, allocations: 19.98 kB / 426.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.1457, allocations: 16.08 kB / 426.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007042/0.1464, allocations: 0.5185 MB / 427.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1464, allocations: 3.938 kB / 427.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.1471, allocations: 168 kB / 427.5 MB, free: 3.305 MB / 350.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.001348/0.1484, allocations: 1.145 MB / 428.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009207/0.1493, allocations: 463.9 kB / 429.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1493, allocations: 0 / 429.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.1497, allocations: 239.8 kB / 429.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.1506, allocations: 195.2 kB / 429.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009242/0.1599, allocations: 6.531 MB / 436 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.1605, allocations: 0.9487 MB / 437 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003272/0.1608, allocations: 98.16 kB / 437.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.1612, allocations: 315.3 kB / 437.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1612, allocations: 0 / 437.4 MB, free: 8.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06939/0.2306, allocations: 16.18 MB / 453.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.69, allocations: 8.062 kB / 453.6 MB, free: 8.59 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.025993513001595]