Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001793/0.001793, allocations: 118 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.002425/0.002425, 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.454/1.454, allocations: 207.6 MB / 231.8 MB, free: 4.059 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.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",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.002657/0.002657, allocations: 55.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1063, allocations: 49.12 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003908/0.1103, allocations: 2.474 MB / 393.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005399/0.1108, allocations: 251.1 kB / 394.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1109, allocations: 7.938 kB / 394.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1111, allocations: 43.58 kB / 394.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.1112, allocations: 99.11 kB / 394.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1114, allocations: 63.92 kB / 394.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.1118, allocations: 322.4 kB / 394.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.112, allocations: 75.09 kB / 394.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1121, allocations: 127.6 kB / 394.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1123, allocations: 127.4 kB / 395 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.1123, allocations: 24 kB / 395 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.1124, allocations: 24 kB / 395 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.1124, allocations: 63.77 kB / 395.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1126, allocations: 143.3 kB / 395.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.1129, allocations: 314.7 kB / 395.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1129, allocations: 7.922 kB / 395.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.113, allocations: 0 / 395.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.113, allocations: 0 / 395.5 MB, free: 4.559 MB / 318.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.0009235/0.1139, allocations: 0.5728 MB / 396.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1139, allocations: 12.03 kB / 396.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.114, allocations: 58.73 kB / 396.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.641e-05/0.1141, allocations: 40.67 kB / 396.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.1144, allocations: 247.9 kB / 396.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1144, allocations: 16.94 kB / 396.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.1145, allocations: 32.38 kB / 396.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.1149, allocations: 251.2 kB / 396.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.115, allocations: 15.86 kB / 396.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.115, allocations: 12 kB / 396.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.115, allocations: 7.938 kB / 396.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1153, allocations: 175.9 kB / 397 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1164, allocations: 0.7422 MB / 397.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.1169, allocations: 268.9 kB / 398 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1171, allocations: 117.7 kB / 398.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1171, allocations: 4 kB / 398.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1171, allocations: 38.56 kB / 398.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.964e-06/0.1171, allocations: 0 / 398.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002906/0.12, allocations: 1.717 MB / 399.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.1201, allocations: 85.11 kB / 399.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1203, allocations: 182.2 kB / 400.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1203, allocations: 33.7 kB / 400.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1204, allocations: 148.8 kB / 400.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.1206, allocations: 182.4 kB / 400.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1207, allocations: 70.27 kB / 400.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1209, allocations: 342.8 kB / 400.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.1211, allocations: 105 kB / 401 MB, free: 14.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.1213, allocations: 157.5 kB / 401.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.1217, allocations: 287 kB / 401.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1217, allocations: 0 / 401.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005474/0.1223, allocations: 373.8 kB / 401.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1223, allocations: 4 kB / 401.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1223, allocations: 4 kB / 401.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1223, allocations: 0 / 401.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.1227, allocations: 107.8 kB / 401.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1227, allocations: 4.062 kB / 401.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1228, allocations: 12 kB / 401.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.1228, allocations: 16 kB / 401.9 MB, free: 13.72 MB / 334.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.0001447/0.123, allocations: 153.7 kB / 402.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.1231, allocations: 35.75 kB / 402.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.1232, allocations: 41.8 kB / 402.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1232, allocations: 4 kB / 402.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1232, allocations: 0 / 402.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1232, allocations: 3.984 kB / 402.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.1245, allocations: 0.9559 MB / 403.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1245, allocations: 4 kB / 403.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.1249, allocations: 95.89 kB / 403.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1249, allocations: 3.938 kB / 403.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.125, allocations: 8 kB / 403.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.125, allocations: 8.062 kB / 403.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.125, allocations: 0 / 403.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.1258, allocations: 0.6358 MB / 403.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.1259, allocations: 108.8 kB / 404 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1259, allocations: 19.98 kB / 404 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.1261, allocations: 12 kB / 404 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1261, allocations: 23.97 kB / 404 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1261, allocations: 12 kB / 404 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1262, allocations: 136.3 kB / 404.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1262, allocations: 0 / 404.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.1266, allocations: 80 kB / 404.2 MB, free: 11.28 MB / 334.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.001107/0.1277, allocations: 1.188 MB / 405.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.1282, allocations: 278.7 kB / 405.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1282, allocations: 0 / 405.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1284, allocations: 147.9 kB / 405.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.129, allocations: 59.91 kB / 405.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.1331, allocations: 3.294 MB / 409.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.1335, allocations: 0.7726 MB / 410 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.1336, allocations: 38.94 kB / 410 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1338, allocations: 95.41 kB / 410.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1338, allocations: 0 / 410.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.1672, allocations: 6.159 MB / 416.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.511, allocations: 12.05 kB / 416.3 MB, free: 15.01 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.034385940001812]