Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001658/0.001658, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001796/0.001796, allocations: 215.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2761, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003774/0.2799, allocations: 2.514 MB / 433.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005623/0.2805, allocations: 263 kB / 433.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2806, allocations: 4 kB / 433.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.2808, allocations: 55.5 kB / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2809, allocations: 91.19 kB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.2812, allocations: 55.92 kB / 434.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.2816, allocations: 322.5 kB / 434.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.2818, allocations: 77.27 kB / 434.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2819, allocations: 119.6 kB / 434.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.2821, allocations: 143.3 kB / 434.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.2822, allocations: 24 kB / 434.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.2822, allocations: 24 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.2823, allocations: 55.78 kB / 434.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2824, allocations: 147.3 kB / 435 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.2828, allocations: 318.6 kB / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2828, allocations: 0 / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2828, allocations: 0 / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2828, allocations: 0 / 435.3 MB, free: 2.664 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009063/0.2837, allocations: 0.4976 MB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2838, allocations: 8.031 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.3e-05/0.2839, allocations: 62.72 kB / 435.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.2839, allocations: 32.75 kB / 435.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.2843, allocations: 194.8 kB / 436.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.2843, allocations: 17.03 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.2844, allocations: 28.38 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.2848, allocations: 264.3 kB / 436.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.2849, allocations: 11.89 kB / 436.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.2849, allocations: 12 kB / 436.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2849, allocations: 7.938 kB / 436.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.2852, allocations: 175.8 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.2864, allocations: 0.7025 MB / 437.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.2868, allocations: 269.1 kB / 437.6 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.287, allocations: 117.7 kB / 437.7 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.287, allocations: 4 kB / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.2871, allocations: 38.5 kB / 437.7 MB, free: 96 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.2871, allocations: 4 kB / 437.7 MB, free: 92 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002755/0.2898, allocations: 1.427 MB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.2899, allocations: 89.09 kB / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.2901, allocations: 184.2 kB / 439.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.2902, allocations: 33.7 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2903, allocations: 140.8 kB / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.2905, allocations: 182.4 kB / 439.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2906, allocations: 74.19 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.2908, allocations: 338.8 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.291, allocations: 105 kB / 440.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.2912, allocations: 152.8 kB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.2917, allocations: 286.1 kB / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2917, allocations: 0 / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005415/0.2922, allocations: 374 kB / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2922, allocations: 4 kB / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2922, allocations: 0 / 441.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.2923, allocations: 7.984 kB / 441.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.2926, allocations: 99.84 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.2927, allocations: 4 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2928, allocations: 12 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.2928, allocations: 8 kB / 441.2 MB, free: 12.44 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.0001627/0.293, allocations: 161.7 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.293, allocations: 35.78 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.2931, allocations: 33.97 kB / 441.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2931, allocations: 8 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2931, allocations: 0 / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2931, allocations: 3.984 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.2945, allocations: 0.9195 MB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2945, allocations: 0 / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.2949, allocations: 91.89 kB / 442.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.2949, allocations: 11.88 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.2949, allocations: 12 kB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2949, allocations: 0 / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2949, allocations: 7.938 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.2957, allocations: 0.6395 MB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.2958, allocations: 23.8 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.2958, allocations: 12 kB / 443.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.296, allocations: 12 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.296, allocations: 23.94 kB / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.296, allocations: 20 kB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.2962, allocations: 139.2 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2962, allocations: 4 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.2965, allocations: 76 kB / 443.4 MB, free: 10.12 MB / 350.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.001141/0.2977, allocations: 1.197 MB / 444.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004588/0.2981, allocations: 287.6 kB / 444.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2981, allocations: 0 / 444.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.2983, allocations: 139.7 kB / 445 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.2989, allocations: 72.45 kB / 445.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.3029, allocations: 3.276 MB / 448.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3033, allocations: 0.7765 MB / 449.2 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.3035, allocations: 34.95 kB / 449.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3036, allocations: 103.3 kB / 449.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3036, allocations: 4 kB / 449.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.3401, allocations: 6.499 MB / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.44, allocations: 10.38 kB / 455.8 MB, free: 13.72 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.s from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable m3.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable m3.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd1.v_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd1.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.s_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.s_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! Error: Could not read variable sd2.v_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv. Warning: Get data of variable sd2.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.117569807000109]