Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001685/0.001685, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.002066/0.002066, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.553/1.553, allocations: 207.6 MB / 231.8 MB, free: 4.051 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.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",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.002409/0.002409, allocations: 55.91 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1021, allocations: 49.13 MB / 391.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01037/0.1125, allocations: 7.973 MB / 399.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.1177, allocations: 2.646 MB / 402 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009499/0.1186, allocations: 27.88 kB / 402.1 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.1203, allocations: 0.5754 MB / 402.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.1219, allocations: 492.4 kB / 403.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.1225, allocations: 239.7 kB / 403.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1244, allocations: 1.436 MB / 404.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.1252, allocations: 406.8 kB / 405.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.1262, allocations: 0.5525 MB / 405.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007405/0.1269, allocations: 0.5833 MB / 406.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.1271, allocations: 143.9 kB / 406.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.1274, allocations: 168 kB / 406.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.1277, allocations: 275 kB / 406.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.1283, allocations: 0.6415 MB / 407.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.1305, allocations: 1.712 MB / 409.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1305, allocations: 0 / 409.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1305, allocations: 4 kB / 409.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.1305, allocations: 0 / 409.3 MB, free: 6.762 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002552/0.1331, allocations: 1.459 MB / 410.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1331, allocations: 12.03 kB / 410.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.1333, allocations: 144.3 kB / 410.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.1338, allocations: 180 kB / 411 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1351, allocations: 0.7382 MB / 411.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1352, allocations: 70 kB / 411.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1353, allocations: 95.95 kB / 411.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.1369, allocations: 0.9229 MB / 412.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.1369, allocations: 4 kB / 412.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.137, allocations: 40 kB / 412.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.137, allocations: 24 kB / 412.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1383, allocations: 0.6246 MB / 413.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.1435, allocations: 3.891 MB / 417.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.1441, allocations: 339.6 kB / 417.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.1444, allocations: 136.7 kB / 417.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1444, allocations: 4 kB / 417.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.1444, allocations: 42.5 kB / 418 MB, free: 13.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.364e-06/0.1444, allocations: 0 / 418 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002469/0.1469, allocations: 1.207 MB / 419.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.147, allocations: 81.11 kB / 419.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.1481, allocations: 0.8253 MB / 420.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1481, allocations: 37.69 kB / 420.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.1486, allocations: 0.5811 MB / 420.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1487, allocations: 134.9 kB / 420.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.1489, allocations: 130.5 kB / 420.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1491, allocations: 341.9 kB / 421.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.1494, allocations: 141.9 kB / 421.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.15, allocations: 460 kB / 421.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.1509, allocations: 0.6362 MB / 422.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1509, allocations: 3.938 kB / 422.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001264/0.1522, allocations: 0.6967 MB / 423.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1522, allocations: 8 kB / 423.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.1522, allocations: 16.03 kB / 423.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.1524, allocations: 28.84 kB / 423.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.1529, allocations: 159.7 kB / 423.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.1542, allocations: 1.39 MB / 424.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.1547, allocations: 39.92 kB / 424.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.1548, allocations: 36 kB / 424.9 MB, free: 6.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0003939/0.1552, allocations: 253.7 kB / 425.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1553, allocations: 87.42 kB / 425.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007922/0.1561, allocations: 378.5 kB / 425.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1561, allocations: 4 kB / 425.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1561, allocations: 0 / 425.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1561, allocations: 7.984 kB / 425.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.1581, allocations: 1.266 MB / 426.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.1581, allocations: 3.938 kB / 426.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.1584, allocations: 71.91 kB / 426.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.1585, allocations: 24.84 kB / 427 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1585, allocations: 8 kB / 427 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1597, allocations: 1.375 MB / 428.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1597, allocations: 0 / 428.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1608, allocations: 0.6361 MB / 429 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.1611, allocations: 196.5 kB / 429.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.1611, allocations: 8 kB / 429.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.1615, allocations: 27.91 kB / 429.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.1616, allocations: 31.91 kB / 429.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.1616, allocations: 12 kB / 429.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008273/0.1624, allocations: 0.5615 MB / 429.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1624, allocations: 0 / 429.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008061/0.1632, allocations: 188 kB / 430 MB, free: 0.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.001557/0.1648, allocations: 1.203 MB / 431.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1659, allocations: 493 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.1659, allocations: 8.375 kB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.1663, allocations: 258.4 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.1673, allocations: 223.8 kB / 432.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.1784, allocations: 7.122 MB / 439.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/0.1791, allocations: 0.9962 MB / 440.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00039/0.1795, allocations: 102.9 kB / 440.4 MB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.18, allocations: 359.3 kB / 440.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.18, allocations: 0 / 440.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.2336, allocations: 18.05 MB / 458.8 MB, free: 3.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 3.984 kB / 458.8 MB, free: 3.316 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.836410848001833]