Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.00177/0.00177, allocations: 112 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.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.002124/0.002124, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.394/1.394, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 43.92 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2817, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003728/0.2854, allocations: 2.273 MB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000542/0.2859, allocations: 195.3 kB / 425.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.286, allocations: 4 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.18e-05/0.2861, allocations: 39.64 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.2863, allocations: 67.36 kB / 425.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.2865, allocations: 51.94 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.2868, allocations: 235 kB / 425.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.287, allocations: 83 kB / 425.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2872, allocations: 95.66 kB / 425.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.2873, allocations: 103.5 kB / 425.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.2874, allocations: 20 kB / 425.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.885e-05/0.2874, allocations: 20 kB / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.2875, allocations: 47.84 kB / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2876, allocations: 115.5 kB / 426 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.288, allocations: 259.3 kB / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.288, allocations: 0 / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.288, allocations: 0 / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.288, allocations: 0 / 426.2 MB, free: 11.04 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008077/0.2888, allocations: 445.8 kB / 426.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2888, allocations: 12.03 kB / 426.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.523e-05/0.2889, allocations: 58.72 kB / 426.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.2889, allocations: 24.8 kB / 426.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.2892, allocations: 162.2 kB / 426.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2892, allocations: 16.88 kB / 426.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.2893, allocations: 24.38 kB / 426.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.2897, allocations: 228.1 kB / 427.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.2897, allocations: 11.88 kB / 427.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.2897, allocations: 8 kB / 427.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2897, allocations: 8 kB / 427.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.29, allocations: 135.8 kB / 427.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2912, allocations: 0.8137 MB / 428.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.2915, allocations: 159.8 kB / 428.3 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.2916, allocations: 58.56 kB / 428.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2916, allocations: 4 kB / 428.3 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2916, allocations: 42.42 kB / 428.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.2916, allocations: 3.938 kB / 428.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003982/0.292, allocations: 169.6 kB / 428.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.2921, allocations: 114.8 kB / 428.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.2923, allocations: 195.1 kB / 428.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2923, allocations: 25.7 kB / 428.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2924, allocations: 160.2 kB / 429 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.2925, allocations: 71.42 kB / 429.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.2926, allocations: 53.88 kB / 429.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2927, allocations: 326.8 kB / 429.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.2928, allocations: 56.53 kB / 429.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.293, allocations: 151.6 kB / 429.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.2933, allocations: 225.5 kB / 429.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2933, allocations: 0 / 429.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000368/0.2937, allocations: 245.8 kB / 430.1 MB, free: 6.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2937, allocations: 8 kB / 430.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2937, allocations: 160 / 430.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2937, allocations: 8 kB / 430.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.2939, allocations: 60.34 kB / 430.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.294, allocations: 15.92 kB / 430.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.2941, allocations: 27.97 kB / 430.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.2941, allocations: 20 kB / 430.3 MB, free: 6.594 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.2942, allocations: 137.8 kB / 430.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.2943, allocations: 27.78 kB / 430.4 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.2944, allocations: 25.39 kB / 430.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2944, allocations: 4 kB / 430.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2944, allocations: 0 / 430.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2944, allocations: 0 / 430.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.295, allocations: 395.9 kB / 430.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.295, allocations: 4 kB / 430.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.2952, allocations: 39.92 kB / 430.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2952, allocations: 4 kB / 430.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.2952, allocations: 4 kB / 430.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2952, allocations: 0 / 430.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2952, allocations: 96 / 430.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.2956, allocations: 388.4 kB / 431.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2957, allocations: 27.83 kB / 431.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.2957, allocations: 7.938 kB / 431.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.2958, allocations: 8 kB / 431.3 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.2959, allocations: 19.86 kB / 431.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2959, allocations: 4 kB / 431.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.296, allocations: 140.4 kB / 431.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.296, allocations: 0 / 431.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000361/0.2964, allocations: 51.95 kB / 431.5 MB, free: 5.242 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.0007042/0.2971, allocations: 0.9055 MB / 432.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.2973, allocations: 136.2 kB / 432.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2973, allocations: 0 / 432.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.167e-05/0.2974, allocations: 51.91 kB / 432.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.2979, allocations: 27.92 kB / 432.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.3009, allocations: 2.567 MB / 435.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.3013, allocations: 0.732 MB / 436 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.312e-05/0.3014, allocations: 21.95 kB / 436 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.3015, allocations: 63.41 kB / 436 MB, free: 492 kB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3015, allocations: 0 / 436 MB, free: 492 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.3337, allocations: 4.013 MB / 440.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.4, allocations: 7.031 kB / 440.1 MB, free: 12.61 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.834962728000392]