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.001289/0.001289, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00149/0.00149, allocations: 187.4 kB / 23.72 MB, free: 4.684 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.402/1.402, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.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 0.001486/0.001486, allocations: 47.94 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002878/0.2629, allocations: 1.667 MB / 424.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002327/0.2632, allocations: 59.78 kB / 424.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.2632, allocations: 4 kB / 424.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.476e-05/0.2633, allocations: 7.875 kB / 424.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.2634, allocations: 19.84 kB / 424.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.2635, allocations: 19.98 kB / 424.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2636, allocations: 59.73 kB / 424.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2637, allocations: 23.91 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.2638, allocations: 23.92 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.2638, allocations: 23.92 kB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2639, allocations: 8 kB / 424.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.2639, allocations: 4 kB / 424.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.2639, allocations: 7.938 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.2639, allocations: 31.86 kB / 424.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2641, allocations: 67.09 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2641, allocations: 4 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2641, allocations: 4 kB / 424.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2641, allocations: 0 / 424.6 MB, free: 12.59 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.0004412/0.2645, allocations: 287.2 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2646, allocations: 12.03 kB / 424.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.2646, allocations: 42.69 kB / 425 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.2646, allocations: 8.891 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.2648, allocations: 122.5 kB / 425.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.2648, allocations: 8.312 kB / 425.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2649, allocations: 8.375 kB / 425.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.265, allocations: 66.23 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.265, allocations: 15.88 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.265, allocations: 4 kB / 425.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.265, allocations: 0 / 425.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.2651, allocations: 39.91 kB / 425.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.2657, allocations: 342.8 kB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.795e-05/0.2658, allocations: 62.44 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.2659, allocations: 16.86 kB / 425.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2659, allocations: 3.984 kB / 425.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2659, allocations: 34.56 kB / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2659, allocations: 0 / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006777/0.2666, allocations: 375.9 kB / 426.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.2666, allocations: 55.39 kB / 426.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.2667, allocations: 117.8 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2667, allocations: 29.7 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.2668, allocations: 88.09 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.2668, allocations: 35.69 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.2669, allocations: 25.72 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.267, allocations: 326.8 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.267, allocations: 15.98 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.2671, allocations: 64.33 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.2672, allocations: 85.56 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2672, allocations: 0 / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001645/0.2674, allocations: 113.5 kB / 427 MB, free: 9.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2674, allocations: 4 kB / 427 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2674, allocations: 0 / 427 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2674, allocations: 7.938 kB / 427 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.2675, allocations: 31.92 kB / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2675, allocations: 8.031 kB / 427 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.2676, allocations: 4 kB / 427 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.2676, allocations: 4 kB / 427.1 MB, free: 9.891 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.826e-05/0.2676, allocations: 121.8 kB / 427.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2677, allocations: 4.141 kB / 427.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.2677, allocations: 12.36 kB / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2677, allocations: 0 / 427.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2677, allocations: 3.938 kB / 427.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2677, allocations: 4 kB / 427.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.2682, allocations: 381.6 kB / 427.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2682, allocations: 4 kB / 427.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.2683, allocations: 23.98 kB / 427.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2683, allocations: 4 kB / 427.6 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2683, allocations: 8.094 kB / 427.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2683, allocations: 7.938 kB / 427.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2683, allocations: 4 kB / 427.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.2686, allocations: 227.7 kB / 427.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.2686, allocations: 11.98 kB / 427.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2686, allocations: 4 kB / 427.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.2687, allocations: 0 / 427.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.2687, allocations: 11.98 kB / 427.9 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2687, allocations: 4 kB / 427.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.946e-05/0.2687, allocations: 91.27 kB / 428 MB, free: 8.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2687, allocations: 3.938 kB / 428 MB, free: 8.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00025/0.269, allocations: 20.06 kB / 428 MB, free: 8.844 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.0005119/0.2695, allocations: 0.7677 MB / 428.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.2696, allocations: 67.84 kB / 428.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2697, allocations: 0 / 428.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.2697, allocations: 23.94 kB / 428.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.27, allocations: 20.06 kB / 428.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2716, allocations: 1.664 MB / 430.5 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2719, allocations: 0.6961 MB / 431.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.272, allocations: 8.422 kB / 431.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.272, allocations: 19.44 kB / 431.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.272, allocations: 0 / 431.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.3078, allocations: 2.071 MB / 433.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.22, allocations: 8 kB / 433.3 MB, free: 3.426 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/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: 13.61989357800121]