Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001294/0.001294, 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.001466/0.001466, allocations: 214.4 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.439/1.439, 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.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 55.91 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2942, allocations: 53.34 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003735/0.298, allocations: 2.305 MB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004658/0.2984, allocations: 195.3 kB / 433.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.2985, allocations: 8 kB / 433.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.2986, allocations: 35.64 kB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.2988, allocations: 63.42 kB / 433.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.299, allocations: 47.88 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.2992, allocations: 239 kB / 434 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2994, allocations: 79.02 kB / 434.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2996, allocations: 91.72 kB / 434.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.2997, allocations: 103.5 kB / 434.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.2998, allocations: 24 kB / 434.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.706e-05/0.2998, allocations: 20 kB / 434.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.2999, allocations: 43.84 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3, allocations: 115.5 kB / 434.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.3003, allocations: 259.3 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3003, allocations: 4 kB / 434.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3003, allocations: 0 / 434.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3003, allocations: 0 / 434.7 MB, free: 3.246 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.0007858/0.3011, allocations: 441.8 kB / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.3012, allocations: 8.031 kB / 435.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.161e-05/0.3012, allocations: 62.72 kB / 435.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.3013, allocations: 24.8 kB / 435.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3015, allocations: 168 kB / 435.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3016, allocations: 16.88 kB / 435.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.3016, allocations: 24.38 kB / 435.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.302, allocations: 228 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.302, allocations: 7.938 kB / 435.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3021, allocations: 8 kB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3021, allocations: 7.938 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.3023, allocations: 139.8 kB / 435.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.3036, allocations: 0.817 MB / 436.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.3039, allocations: 159.8 kB / 436.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.304, allocations: 54.56 kB / 436.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.304, allocations: 4.297 kB / 436.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.304, allocations: 46.5 kB / 436.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.304, allocations: 0 / 436.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004047/0.3044, allocations: 173.6 kB / 437.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.3045, allocations: 102.8 kB / 437.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3047, allocations: 200.5 kB / 437.4 MB, free: 376 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.3047, allocations: 33.7 kB / 437.4 MB, free: 336 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3048, allocations: 160.2 kB / 437.6 MB, free: 172 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.3049, allocations: 67.38 kB / 437.6 MB, free: 104 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.305, allocations: 57.98 kB / 437.7 MB, free: 36 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3052, allocations: 326.8 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.3052, allocations: 48.53 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3054, allocations: 155.6 kB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.3057, allocations: 221.5 kB / 438.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3057, allocations: 4 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003688/0.3061, allocations: 241.5 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3061, allocations: 12.06 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3061, allocations: 4 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3061, allocations: 4 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3064, allocations: 67.84 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3064, allocations: 4 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.3065, allocations: 31.78 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3065, allocations: 8 kB / 438.8 MB, free: 14.82 MB / 350.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.000134/0.3066, allocations: 141.7 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.3067, allocations: 23.84 kB / 438.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.3068, allocations: 29.39 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3068, allocations: 4 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3068, allocations: 0 / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3068, allocations: 4 kB / 439 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/0.3074, allocations: 399.9 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3074, allocations: 0 / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.3076, allocations: 40.08 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3076, allocations: 3.938 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3076, allocations: 8 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3076, allocations: 4 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3076, allocations: 0 / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.308, allocations: 381.6 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.3081, allocations: 23.94 kB / 439.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3081, allocations: 4 kB / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3082, allocations: 4 kB / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3083, allocations: 11.92 kB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3083, allocations: 11.94 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3084, allocations: 143.4 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3084, allocations: 4 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000348/0.3088, allocations: 55.89 kB / 440.1 MB, free: 13.46 MB / 350.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.0007367/0.3095, allocations: 0.9121 MB / 441 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3098, allocations: 135.7 kB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3098, allocations: 0 / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.3099, allocations: 56.86 kB / 441.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.3104, allocations: 39.92 kB / 441.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.3133, allocations: 2.555 MB / 443.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3137, allocations: 0.7359 MB / 444.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.041e-05/0.3138, allocations: 17.95 kB / 444.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.3139, allocations: 59.41 kB / 444.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3139, allocations: 0 / 444.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.344, allocations: 4.019 MB / 448.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.2, allocations: 4.406 kB / 448.6 MB, free: 4.812 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.619286117998854]