Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.001336/0.001336, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009342/0.0009342, allocations: 149.1 kB / 23.93 MB, free: 0.6367 MB / 18.57 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 0.8883/0.8883, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.47e-05, allocations: 6.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001938/0.001952, allocations: 1.597 MB / 320 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002113/0.002164, allocations: 63.78 kB / 320.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.00222, allocations: 8 kB / 320.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.002308, allocations: 11.88 kB / 320.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.002353, allocations: 19.78 kB / 320.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.002466, allocations: 19.91 kB / 320.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.002572, allocations: 75.66 kB / 320.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.002676, allocations: 11.98 kB / 320.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.002724, allocations: 39.95 kB / 320.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.00278, allocations: 15.92 kB / 320.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.002801, allocations: 4 kB / 320.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.00281, allocations: 8 kB / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.002828, allocations: 15.97 kB / 320.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.002854, allocations: 23.94 kB / 320.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.003127, allocations: 67.7 kB / 320.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00313, allocations: 4 kB / 320.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.003131, allocations: 0 / 320.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.003136, allocations: 0 / 320.4 MB, free: 4.383 MB / 282.7 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.0003781/0.003514, allocations: 282.2 kB / 320.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.003557, allocations: 12.92 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.003593, allocations: 38.75 kB / 320.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.003618, allocations: 12.89 kB / 320.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.003785, allocations: 125.7 kB / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003795, allocations: 384 / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.003822, allocations: 12.33 kB / 320.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.00395, allocations: 69.61 kB / 320.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.003961, allocations: 4.188 kB / 320.9 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.003971, allocations: 4.375 kB / 320.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.003977, allocations: 4.125 kB / 320.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.448e-05/0.004041, allocations: 35.97 kB / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.004528, allocations: 338.9 kB / 321.3 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.137e-05/0.00461, allocations: 54.56 kB / 321.4 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.004638, allocations: 20.84 kB / 321.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.004648, allocations: 0 / 321.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.004666, allocations: 38.5 kB / 321.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004667, allocations: 0 / 321.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005057/0.005173, allocations: 372 kB / 321.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.005201, allocations: 51.5 kB / 321.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.005267, allocations: 125.8 kB / 322 MB, free: 2.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.005276, allocations: 29.7 kB / 322 MB, free: 2.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.005318, allocations: 96.03 kB / 322.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.005338, allocations: 35.69 kB / 322.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.005367, allocations: 29.66 kB / 322.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.005442, allocations: 322.8 kB / 322.5 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.005467, allocations: 19.98 kB / 322.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.005511, allocations: 60.27 kB / 322.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.005585, allocations: 89.02 kB / 322.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005586, allocations: 4 kB / 322.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001055/0.005691, allocations: 113.5 kB / 322.7 MB, free: 1.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.005702, allocations: 4 kB / 322.7 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.005708, allocations: 4 kB / 322.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.00572, allocations: 0 / 322.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.00578, allocations: 23.98 kB / 322.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.005785, allocations: 4.141 kB / 322.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.005808, allocations: 8 kB / 322.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.005814, allocations: 7.938 kB / 322.8 MB, free: 1.703 MB / 282.7 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 5.601e-05/0.00587, allocations: 121.9 kB / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.005885, allocations: 7.953 kB / 322.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.005908, allocations: 12.44 kB / 322.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.00591, allocations: 4 kB / 322.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.005914, allocations: 0 / 322.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.005916, allocations: 0 / 322.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.006219, allocations: 377.6 kB / 323.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.00622, allocations: 0 / 323.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.006268, allocations: 28.14 kB / 323.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.006272, allocations: 7.938 kB / 323.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006278, allocations: 0 / 323.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.006281, allocations: 4 kB / 323.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006282, allocations: 0 / 323.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.006435, allocations: 236 kB / 323.6 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.006444, allocations: 11.89 kB / 323.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.006456, allocations: 3.938 kB / 323.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.006494, allocations: 8 kB / 323.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.006509, allocations: 7.984 kB / 323.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.006513, allocations: 8.062 kB / 323.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.258e-05/0.006546, allocations: 91.27 kB / 323.7 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006546, allocations: 3.938 kB / 323.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.006712, allocations: 16 kB / 323.7 MB, free: 0.6641 MB / 282.7 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.0003235/0.007036, allocations: 0.7595 MB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.007148, allocations: 59.91 kB / 324.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.00715, allocations: 0 / 324.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.007176, allocations: 32.59 kB / 324.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.007409, allocations: 15.98 kB / 324.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.00849, allocations: 1.606 MB / 326.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.008542, allocations: 75.33 kB / 326.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.986e-05/0.008572, allocations: 12.48 kB / 326.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.00861, allocations: 20.5 kB / 326.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008611, allocations: 0 / 326.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.02635, allocations: 2.566 MB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.689, allocations: 7.094 kB / 328.9 MB, free: 11.43 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.400389730930328]