Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001288/0.001288, 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.001368/0.001368, 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.41/1.41, allocations: 225.6 MB / 249.1 MB, free: 3.645 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.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 51.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0145/0.1161, allocations: 8.024 MB / 425.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006396/0.1225, allocations: 2.599 MB / 428.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1237, allocations: 31.88 kB / 428.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.1261, allocations: 0.5715 MB / 429 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.1283, allocations: 488.4 kB / 429.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.1293, allocations: 235.7 kB / 429.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003284/0.1326, allocations: 1.436 MB / 431.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.1337, allocations: 402.8 kB / 431.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.135, allocations: 0.5564 MB / 432.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.1362, allocations: 0.5833 MB / 432.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.1365, allocations: 136 kB / 432.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.1371, allocations: 184 kB / 433 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.1375, allocations: 267 kB / 433.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.1385, allocations: 0.657 MB / 433.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.1416, allocations: 1.7 MB / 435.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1416, allocations: 0 / 435.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1416, allocations: 0 / 435.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.1416, allocations: 0 / 435.6 MB, free: 10.7 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003985/0.1456, allocations: 1.467 MB / 437.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.1457, allocations: 8.031 kB / 437.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00027/0.1459, allocations: 148.3 kB / 437.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009537/0.1469, allocations: 176 kB / 437.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.1489, allocations: 0.7343 MB / 438.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.149, allocations: 74 kB / 438.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.1492, allocations: 96 kB / 438.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.1518, allocations: 0.9307 MB / 439.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.1519, allocations: 3.953 kB / 439.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.152, allocations: 40 kB / 439.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.152, allocations: 27.94 kB / 439.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.1543, allocations: 0.6285 MB / 439.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009139/0.1635, allocations: 3.875 MB / 443.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.1644, allocations: 341.9 kB / 444.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.1648, allocations: 141.2 kB / 444.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.1649, allocations: 7.984 kB / 444.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.1649, allocations: 46.5 kB / 444.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.516e-06/0.1649, allocations: 0 / 444.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.003618/0.1686, allocations: 1.203 MB / 445.5 MB, free: 300 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.1686, allocations: 85.09 kB / 445.6 MB, free: 196 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1828/0.3515, allocations: 0.8149 MB / 446.4 MB, free: 29.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.3515, allocations: 32.92 kB / 446.5 MB, free: 29.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.3518, allocations: 0.5805 MB / 447.1 MB, free: 29.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.3519, allocations: 135.8 kB / 447.2 MB, free: 29.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.352, allocations: 127.1 kB / 447.3 MB, free: 29.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.3521, allocations: 338.8 kB / 447.6 MB, free: 29.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.3524, allocations: 149.2 kB / 447.8 MB, free: 29.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.3528, allocations: 456.5 kB / 448.2 MB, free: 29.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.3534, allocations: 0.6346 MB / 448.9 MB, free: 28.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3534, allocations: 3.75 kB / 448.9 MB, free: 28.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001036/0.3545, allocations: 0.6924 MB / 449.6 MB, free: 28.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3545, allocations: 12.27 kB / 449.6 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3545, allocations: 8.438 kB / 449.6 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.3547, allocations: 36.02 kB / 449.6 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.3551, allocations: 157 kB / 449.8 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007324/0.3558, allocations: 1.385 MB / 451.2 MB, free: 27.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.3563, allocations: 42.53 kB / 451.2 MB, free: 27.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.3564, allocations: 36.81 kB / 451.2 MB, free: 27.27 MB / 366.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.0002853/0.3567, allocations: 253 kB / 451.5 MB, free: 27.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/0.3567, allocations: 83.61 kB / 451.6 MB, free: 27.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.3574, allocations: 380.2 kB / 451.9 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3574, allocations: 11 kB / 451.9 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3574, allocations: 4 kB / 451.9 MB, free: 27.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3574, allocations: 1.875 kB / 451.9 MB, free: 27.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.359, allocations: 1.26 MB / 453.2 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.359, allocations: 2.344 kB / 453.2 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.3593, allocations: 72.72 kB / 453.3 MB, free: 26.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.379e-05/0.3594, allocations: 24.38 kB / 453.3 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.3594, allocations: 7.75 kB / 453.3 MB, free: 26.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006069/0.36, allocations: 1.376 MB / 454.7 MB, free: 25.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.36, allocations: 6.469 kB / 454.7 MB, free: 25.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.3609, allocations: 0.6384 MB / 455.3 MB, free: 24.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.3611, allocations: 191.7 kB / 455.5 MB, free: 24.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.3612, allocations: 9.266 kB / 455.5 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.3616, allocations: 29.16 kB / 455.6 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.3617, allocations: 33.72 kB / 455.6 MB, free: 24.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3617, allocations: 8.734 kB / 455.6 MB, free: 24.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007042/0.3624, allocations: 0.5602 MB / 456.2 MB, free: 24.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3624, allocations: 0 / 456.2 MB, free: 24.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007172/0.3631, allocations: 189.7 kB / 456.3 MB, free: 24.39 MB / 366.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.001303/0.3644, allocations: 1.201 MB / 457.5 MB, free: 23.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009204/0.3653, allocations: 0.5044 MB / 458.1 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3653, allocations: 0 / 458.1 MB, free: 23.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.3657, allocations: 255.9 kB / 458.3 MB, free: 23.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3667, allocations: 212.1 kB / 458.5 MB, free: 22.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/0.3755, allocations: 7.115 MB / 465.6 MB, free: 18.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.376, allocations: 0.9913 MB / 466.6 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.3764, allocations: 110.4 kB / 466.7 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.3767, allocations: 368.7 kB / 467.1 MB, free: 17.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3767, allocations: 4.812 kB / 467.1 MB, free: 17.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07147/0.4482, allocations: 18.03 MB / 485.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 23.78 kB / 485.1 MB, free: 9.328 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.742765150032938]