Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001952/0.001952, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 207.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002895/0.002895, allocations: 63.91 kB / 377.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2585, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002728/0.2612, allocations: 1.625 MB / 432.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.2614, allocations: 75.66 kB / 432.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.2615, allocations: 4 kB / 432.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.553e-05/0.2616, allocations: 7.875 kB / 432.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.2616, allocations: 15.86 kB / 432.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.2617, allocations: 19.97 kB / 432.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2619, allocations: 63.72 kB / 432.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.262, allocations: 12 kB / 432.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.262, allocations: 23.92 kB / 433 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.2621, allocations: 27.84 kB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.2621, allocations: 4 kB / 433 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.2621, allocations: 4 kB / 433 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.2621, allocations: 19.94 kB / 433 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.2622, allocations: 23.92 kB / 433.1 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2623, allocations: 64.14 kB / 433.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2623, allocations: 0 / 433.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2623, allocations: 0 / 433.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2623, allocations: 0 / 433.1 MB, free: 4.453 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.0004363/0.2628, allocations: 290.2 kB / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2628, allocations: 11.98 kB / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.2628, allocations: 38.75 kB / 433.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.2629, allocations: 12.89 kB / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.2631, allocations: 130.4 kB / 433.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2631, allocations: 4.375 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2631, allocations: 16.34 kB / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2632, allocations: 74.11 kB / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2633, allocations: 3.938 kB / 433.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2633, allocations: 4 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2633, allocations: 4 kB / 433.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.2633, allocations: 39.02 kB / 433.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.264, allocations: 334.7 kB / 434.1 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.2641, allocations: 62.5 kB / 434.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.2641, allocations: 16.86 kB / 434.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.2641, allocations: 0 / 434.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2641, allocations: 34.56 kB / 434.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.2641, allocations: 0 / 434.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006784/0.2648, allocations: 371.3 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2649, allocations: 51.41 kB / 434.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.265, allocations: 121.8 kB / 434.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.265, allocations: 25.7 kB / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.265, allocations: 100.1 kB / 434.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2651, allocations: 35.69 kB / 434.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.2651, allocations: 25.72 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2652, allocations: 318.8 kB / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/0.2653, allocations: 16 kB / 435.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.2654, allocations: 61.08 kB / 435.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2655, allocations: 85.08 kB / 435.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2655, allocations: 0 / 435.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001662/0.2656, allocations: 114.1 kB / 435.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2656, allocations: 4 kB / 435.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2657, allocations: 0 / 435.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2657, allocations: 7.984 kB / 435.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.2658, allocations: 27.98 kB / 435.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2658, allocations: 11.81 kB / 435.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.2658, allocations: 4 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2658, allocations: 4 kB / 435.5 MB, free: 1.762 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.686e-05/0.2659, allocations: 122.6 kB / 435.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.2659, allocations: 7.953 kB / 435.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.266, allocations: 12.36 kB / 435.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.266, allocations: 0 / 435.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.266, allocations: 11.88 kB / 435.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.266, allocations: 0 / 435.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.2665, allocations: 373.6 kB / 436 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2665, allocations: 0 / 436 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.2666, allocations: 20.14 kB / 436.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2666, allocations: 4 kB / 436.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2666, allocations: 8 kB / 436.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2666, allocations: 0 / 436.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.2666, allocations: 7.938 kB / 436.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2668, allocations: 231.7 kB / 436.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.2668, allocations: 7.984 kB / 436.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2669, allocations: 7.984 kB / 436.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.2669, allocations: 4 kB / 436.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.2669, allocations: 7.984 kB / 436.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.267, allocations: 4.062 kB / 436.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.267, allocations: 95.28 kB / 436.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.267, allocations: 0 / 436.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.2673, allocations: 16 kB / 436.4 MB, free: 0.7266 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.0005436/0.2678, allocations: 0.7754 MB / 437.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.2679, allocations: 55.86 kB / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2679, allocations: 4 kB / 437.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.268, allocations: 32.17 kB / 437.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.2683, allocations: 12 kB / 437.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.2699, allocations: 1.666 MB / 439 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.27, allocations: 79.33 kB / 439.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.595e-05/0.2701, allocations: 8.375 kB / 439.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.2701, allocations: 27.42 kB / 439.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2701, allocations: 0 / 439.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.2984, allocations: 2.43 MB / 441.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.26, allocations: 9.859 kB / 441.5 MB, free: 11.54 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.7401183671318]