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.001085/0.001085, allocations: 76.08 kB / 20.67 MB, free: 3.891 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.001104/0.001104, allocations: 153 kB / 23.93 MB, free: 0.6289 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.8355/0.8355, allocations: 173.4 MB / 200.4 MB, free: 9.461 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.162e-06/1.162e-06, allocations: 0 / 318.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.358e-05, allocations: 2.281 kB / 318.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001893/0.001907, allocations: 1.605 MB / 320 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002172/0.002124, allocations: 63.8 kB / 320.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.002184, allocations: 0 / 320.1 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.045e-05/0.002274, allocations: 15.8 kB / 320.1 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.002318, allocations: 19.84 kB / 320.1 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.002434, allocations: 19.92 kB / 320.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.002536, allocations: 71.66 kB / 320.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.002647, allocations: 19.97 kB / 320.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.002697, allocations: 35.97 kB / 320.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.002755, allocations: 19.91 kB / 320.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.002778, allocations: 4 kB / 320.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.002788, allocations: 4 kB / 320.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.002806, allocations: 15.98 kB / 320.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.002834, allocations: 19.92 kB / 320.3 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.002945, allocations: 67.72 kB / 320.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002947, allocations: 0 / 320.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002948, allocations: 0 / 320.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.002952, allocations: 4 kB / 320.4 MB, free: 4.395 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.0003611/0.003313, allocations: 286.2 kB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.003352, allocations: 8.922 kB / 320.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.003385, allocations: 42.73 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.003409, allocations: 8.891 kB / 320.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.003559, allocations: 125.7 kB / 320.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.003568, allocations: 4.375 kB / 320.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.003591, allocations: 12.33 kB / 320.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.003923, allocations: 66.23 kB / 320.9 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.003933, allocations: 4.188 kB / 320.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.003944, allocations: 4.375 kB / 320.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.00395, allocations: 8.125 kB / 321 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.004008, allocations: 31.97 kB / 321 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.004458, allocations: 338.9 kB / 321.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.004536, allocations: 54.56 kB / 321.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.004563, allocations: 16.86 kB / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.004572, allocations: 0 / 321.4 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.00459, allocations: 34.5 kB / 321.4 MB, free: 3.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.004591, allocations: 0 / 321.4 MB, free: 3.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005009/0.005092, allocations: 379.9 kB / 321.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.005119, allocations: 55.41 kB / 321.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.005183, allocations: 121.8 kB / 322 MB, free: 2.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.005191, allocations: 25.7 kB / 322 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.005252, allocations: 96.03 kB / 322.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.005276, allocations: 35.69 kB / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.005311, allocations: 29.66 kB / 322.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.005389, allocations: 326.8 kB / 322.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.005416, allocations: 12 kB / 322.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.256e-05/0.005459, allocations: 61.14 kB / 322.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/0.005535, allocations: 89.02 kB / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.005537, allocations: 0 / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001086/0.005645, allocations: 113.5 kB / 322.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.005657, allocations: 8 kB / 322.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.005662, allocations: 0 / 322.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.005675, allocations: 4.094 kB / 322.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.005735, allocations: 27.98 kB / 322.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.005742, allocations: 8.141 kB / 322.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.005765, allocations: 0 / 322.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.005773, allocations: 7.938 kB / 322.8 MB, free: 1.715 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.895e-05/0.005832, allocations: 125.8 kB / 322.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.005846, allocations: 7.953 kB / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.005876, allocations: 12.44 kB / 322.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005877, allocations: 0 / 322.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.005881, allocations: 0 / 322.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005883, allocations: 0 / 322.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.006202, allocations: 377.7 kB / 323.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006204, allocations: 4 kB / 323.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.006247, allocations: 16 kB / 323.3 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.00625, allocations: 7.938 kB / 323.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.006257, allocations: 4 kB / 323.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006259, allocations: 0 / 323.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.006261, allocations: 4.469 kB / 323.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.006417, allocations: 239.7 kB / 323.6 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.006428, allocations: 11.97 kB / 323.6 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.006443, allocations: 11.94 kB / 323.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.006478, allocations: 0 / 323.6 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.006493, allocations: 7.984 kB / 323.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.006496, allocations: 4 kB / 323.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.383e-05/0.00653, allocations: 95.27 kB / 323.7 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00653, allocations: 3.938 kB / 323.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.006692, allocations: 16 kB / 323.7 MB, free: 0.6758 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.0003141/0.007006, allocations: 0.7673 MB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.007106, allocations: 51.92 kB / 324.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.007107, allocations: 0 / 324.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.007133, allocations: 31.86 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.007352, allocations: 12.56 kB / 324.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.008371, allocations: 1.61 MB / 326.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.008425, allocations: 79.33 kB / 326.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.008453, allocations: 8.484 kB / 326.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.008489, allocations: 20.5 kB / 326.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.00849, allocations: 480 / 326.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.02353, allocations: 2.566 MB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/6.746, allocations: 12.06 kB / 328.9 MB, free: 11.44 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 & /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/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.295209121890366]