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.001489/0.001489, allocations: 115.7 kB / 18.49 MB, free: 4.566 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.00173/0.00173, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.397/1.397, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 51.92 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09357, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002811/0.09638, allocations: 1.641 MB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002385/0.09662, allocations: 67.78 kB / 420.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.09668, allocations: 0 / 420.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.09678, allocations: 19.8 kB / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.09683, allocations: 15.86 kB / 420.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.09696, allocations: 15.98 kB / 420.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.09708, allocations: 67.72 kB / 420.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.09718, allocations: 11.98 kB / 420.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.09723, allocations: 27.92 kB / 420.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.09729, allocations: 23.86 kB / 420.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.09731, allocations: 4 kB / 420.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.09733, allocations: 8 kB / 420.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.09735, allocations: 15.92 kB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.09739, allocations: 27.88 kB / 420.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.09753, allocations: 67.66 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09753, allocations: 4 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09753, allocations: 0 / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.09754, allocations: 0 / 420.5 MB, free: 10.59 MB / 350.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.0005374/0.09808, allocations: 367.2 kB / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.09812, allocations: 8.031 kB / 420.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.519e-05/0.09814, allocations: 4.188 kB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.09817, allocations: 42.72 kB / 420.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.0982, allocations: 12.89 kB / 420.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.09842, allocations: 180.3 kB / 421.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.09843, allocations: 4.375 kB / 421.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.09846, allocations: 8.375 kB / 421.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.09862, allocations: 76.31 kB / 421.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.09864, allocations: 7.953 kB / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.09865, allocations: 0 / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.09866, allocations: 0 / 421.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.09876, allocations: 43.97 kB / 421.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.09942, allocations: 371.7 kB / 421.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.09954, allocations: 58.5 kB / 421.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.09957, allocations: 16.84 kB / 421.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.09958, allocations: 4 kB / 421.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.09961, allocations: 34.56 kB / 421.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.09961, allocations: 0 / 421.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007914/0.1004, allocations: 0.5209 MB / 422.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1004, allocations: 55.34 kB / 422.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.1005, allocations: 113.8 kB / 422.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1006, allocations: 29.64 kB / 422.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.1006, allocations: 96.08 kB / 422.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1007, allocations: 39.64 kB / 422.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1007, allocations: 29.7 kB / 422.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1008, allocations: 318.8 kB / 422.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.1009, allocations: 15.98 kB / 422.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.101, allocations: 57.14 kB / 423 MB, free: 7.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1011, allocations: 85.08 kB / 423 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1011, allocations: 4 kB / 423 MB, free: 7.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001691/0.1012, allocations: 113.5 kB / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1012, allocations: 6.344 kB / 423.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1013, allocations: 0 / 423.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1013, allocations: 8.094 kB / 423.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.1014, allocations: 35.86 kB / 423.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1014, allocations: 0 / 423.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.1014, allocations: 4 kB / 423.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1014, allocations: 4 kB / 423.2 MB, free: 7.5 MB / 350.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 9.762e-05/0.1015, allocations: 126.4 kB / 423.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1015, allocations: 4 kB / 423.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.1016, allocations: 12.36 kB / 423.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1016, allocations: 3.938 kB / 423.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1016, allocations: 4.469 kB / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1016, allocations: 0 / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.1021, allocations: 406.6 kB / 423.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1021, allocations: 0 / 423.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.1022, allocations: 24.09 kB / 423.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1022, allocations: 11.94 kB / 423.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1022, allocations: 0 / 423.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1022, allocations: 7.984 kB / 423.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1022, allocations: 0 / 423.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1024, allocations: 235.7 kB / 424 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1025, allocations: 89.09 kB / 424.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1025, allocations: 8 kB / 424.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.1025, allocations: 0 / 424.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.1026, allocations: 11.92 kB / 424.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1026, allocations: 8 kB / 424.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.131e-05/0.1026, allocations: 91.22 kB / 424.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1026, allocations: 4.062 kB / 424.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1029, allocations: 19.94 kB / 424.3 MB, free: 6.32 MB / 350.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.0005343/0.1034, allocations: 0.7673 MB / 425 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1035, allocations: 55.86 kB / 425.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1036, allocations: 0 / 425.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.03e-05/0.1036, allocations: 27.92 kB / 425.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1039, allocations: 14.3 kB / 425.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1057, allocations: 1.682 MB / 426.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.106, allocations: 0.6967 MB / 427.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.185e-05/0.106, allocations: 8.375 kB / 427.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.1061, allocations: 23.42 kB / 427.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1061, allocations: 4 kB / 427.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.1248, allocations: 1.952 MB / 429.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/7.822, allocations: 3.938 kB / 429.5 MB, free: 0.9922 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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: 10.083132806990761]