Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001543/0.001543, 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.001737/0.001737, 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.503/1.503, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 51.92 kB / 365.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.006084/0.1244, allocations: 2.495 MB / 420.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.1252, allocations: 255.1 kB / 420.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1253, allocations: 15.94 kB / 420.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1255, allocations: 39.58 kB / 420.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1258, allocations: 99.06 kB / 420.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1261, allocations: 55.92 kB / 420.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.1266, allocations: 318.6 kB / 421 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.1268, allocations: 83.09 kB / 421.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.127, allocations: 123.5 kB / 421.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.1273, allocations: 131.5 kB / 421.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.1274, allocations: 24 kB / 421.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.1274, allocations: 24 kB / 421.4 MB, free: 9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.1275, allocations: 59.77 kB / 421.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.1277, allocations: 147.3 kB / 421.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.1283, allocations: 318.6 kB / 421.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1283, allocations: 0 / 421.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1283, allocations: 0 / 421.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1283, allocations: 0 / 421.9 MB, free: 8.484 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001171/0.1295, allocations: 0.5689 MB / 422.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1295, allocations: 16.02 kB / 422.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.609e-05/0.1296, allocations: 58.73 kB / 422.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.1297, allocations: 36.75 kB / 422.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.1301, allocations: 259.9 kB / 422.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.1302, allocations: 16.94 kB / 422.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.1302, allocations: 32.33 kB / 422.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.1308, allocations: 251.1 kB / 423.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.1308, allocations: 3.938 kB / 423.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.1309, allocations: 12 kB / 423.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1309, allocations: 4 kB / 423.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.1313, allocations: 183.8 kB / 423.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.1327, allocations: 0.7422 MB / 424.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.1333, allocations: 261 kB / 424.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.1336, allocations: 118.3 kB / 424.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.1336, allocations: 7.906 kB / 424.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1336, allocations: 30.56 kB / 424.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.1336, allocations: 0 / 424.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.003157/0.1368, allocations: 1.725 MB / 426.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.1368, allocations: 85.11 kB / 426.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.137, allocations: 182.2 kB / 426.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.1371, allocations: 37.64 kB / 426.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1372, allocations: 136.9 kB / 426.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.1374, allocations: 182.4 kB / 426.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1375, allocations: 78.22 kB / 426.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1376, allocations: 338.8 kB / 427.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.1378, allocations: 109.1 kB / 427.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.138, allocations: 157.4 kB / 427.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.1385, allocations: 286.7 kB / 427.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1385, allocations: 0 / 427.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005791/0.1391, allocations: 370 kB / 428.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1391, allocations: 7.984 kB / 428.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1391, allocations: 7.938 kB / 428.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1391, allocations: 0 / 428.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.1395, allocations: 99.91 kB / 428.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1395, allocations: 7.922 kB / 428.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1396, allocations: 16 kB / 428.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.1396, allocations: 16 kB / 428.3 MB, free: 1.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.1398, allocations: 146.3 kB / 428.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.1399, allocations: 35.86 kB / 428.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.715e-05/0.14, allocations: 37.88 kB / 428.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.14, allocations: 7.984 kB / 428.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.14, allocations: 0 / 428.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.14, allocations: 4 kB / 428.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1414, allocations: 0.9468 MB / 429.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.1414, allocations: 4 kB / 429.5 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.1418, allocations: 99.83 kB / 429.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.1418, allocations: 7.938 kB / 429.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1418, allocations: 8 kB / 429.6 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1418, allocations: 4 kB / 429.6 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1418, allocations: 0 / 429.6 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.1427, allocations: 0.6435 MB / 430.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.1428, allocations: 104.9 kB / 430.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.1428, allocations: 12 kB / 430.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.143, allocations: 11.98 kB / 430.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.143, allocations: 23.97 kB / 430.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1431, allocations: 12 kB / 430.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1432, allocations: 140.3 kB / 430.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1432, allocations: 4 kB / 430.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.1436, allocations: 76 kB / 430.6 MB, free: 15.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/0.1448, allocations: 1.196 MB / 431.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005499/0.1454, allocations: 279.6 kB / 432.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1454, allocations: 0 / 432.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.1456, allocations: 143.8 kB / 432.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.1462, allocations: 78.78 kB / 432.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.1508, allocations: 3.293 MB / 435.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.1512, allocations: 0.7804 MB / 436.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.1514, allocations: 30.97 kB / 436.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.1516, allocations: 107.4 kB / 436.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1516, allocations: 0 / 436.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.183, allocations: 6.138 MB / 442.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.483, allocations: 3.984 kB / 442.6 MB, free: 3.156 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable m3.s in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.40356649691239]