Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.001674/0.001674, allocations: 115.8 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.002052/0.002052, allocations: 216 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 51.92 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2742, allocations: 53.35 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002846/0.2771, allocations: 1.668 MB / 432.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002506/0.2773, allocations: 75.7 kB / 432.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.2774, allocations: 0 / 432.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.959e-05/0.2775, allocations: 11.92 kB / 432.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.2775, allocations: 19.78 kB / 432.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.2777, allocations: 19.98 kB / 432.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.2778, allocations: 67.67 kB / 433 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2779, allocations: 15.97 kB / 433 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.2779, allocations: 23.94 kB / 433 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.278, allocations: 27.84 kB / 433 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.278, allocations: 4 kB / 433 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.278, allocations: 8 kB / 433.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.2781, allocations: 8 kB / 433.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.2781, allocations: 31.86 kB / 433.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2782, allocations: 64.14 kB / 433.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2782, allocations: 4 kB / 433.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2782, allocations: 0 / 433.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2782, allocations: 0 / 433.2 MB, free: 4.828 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004579/0.2787, allocations: 286.2 kB / 433.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2787, allocations: 8.031 kB / 433.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.2788, allocations: 38.75 kB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.2788, allocations: 8.891 kB / 433.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.279, allocations: 126.4 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.279, allocations: 12.38 kB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.2791, allocations: 8.312 kB / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.2792, allocations: 72.2 kB / 433.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2792, allocations: 3.938 kB / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2792, allocations: 0 / 433.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2792, allocations: 4 kB / 433.7 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.2793, allocations: 39.97 kB / 433.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.2799, allocations: 342.7 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.28, allocations: 62.55 kB / 434.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.2801, allocations: 16.86 kB / 434.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2801, allocations: 4 kB / 434.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.2801, allocations: 34.5 kB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2801, allocations: 0 / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006879/0.2808, allocations: 375.2 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.2808, allocations: 55.41 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2809, allocations: 121.8 kB / 434.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.281, allocations: 25.7 kB / 434.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.281, allocations: 92.09 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.2811, allocations: 39.69 kB / 434.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.2811, allocations: 21.72 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2812, allocations: 322.8 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.2813, allocations: 20 kB / 435.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.2813, allocations: 57.14 kB / 435.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.2815, allocations: 93 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2815, allocations: 0 / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001699/0.2816, allocations: 113.5 kB / 435.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2816, allocations: 8 kB / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2817, allocations: 0 / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2817, allocations: 7.984 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.2817, allocations: 16 kB / 435.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2818, allocations: 12.03 kB / 435.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.2818, allocations: 3.938 kB / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2818, allocations: 11.98 kB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 8.56e-05/0.2819, allocations: 117.8 kB / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.2819, allocations: 3.953 kB / 435.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.282, allocations: 12.38 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.282, allocations: 3.938 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.282, allocations: 3.938 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.282, allocations: 0 / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.2824, allocations: 393.6 kB / 436.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2824, allocations: 0 / 436.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.2825, allocations: 20.45 kB / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2825, allocations: 4 kB / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2825, allocations: 160 / 436.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2826, allocations: 8 kB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2826, allocations: 0 / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.2828, allocations: 243.5 kB / 436.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.2828, allocations: 8.172 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2828, allocations: 4 kB / 436.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.2829, allocations: 4 kB / 436.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.2829, allocations: 11.97 kB / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.2829, allocations: 4 kB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.288e-05/0.283, allocations: 91.27 kB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.283, allocations: 0 / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.2832, allocations: 20 kB / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.000512/0.2837, allocations: 0.7673 MB / 437.3 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.2839, allocations: 63.84 kB / 437.3 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2839, allocations: 0 / 437.3 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.2839, allocations: 23.94 kB / 437.4 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2842, allocations: 15.98 kB / 437.4 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2859, allocations: 1.665 MB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.2862, allocations: 0.7001 MB / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.2862, allocations: 12.36 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.2863, allocations: 19.44 kB / 439.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2863, allocations: 0 / 439.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.3154, allocations: 2.079 MB / 441.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.04, allocations: 6.25 kB / 441.9 MB, free: 11.66 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_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_Accelerate.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.598935055000766]