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.002033/0.002033, allocations: 131.4 kB / 17.79 MB, free: 5.242 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.002381/0.002381, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.553/1.553, allocations: 230.4 MB / 254 MB, free: 15.02 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.003394/0.003394, allocations: 63.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1262, allocations: 53.37 MB / 426.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003449/0.1296, allocations: 1.668 MB / 428 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003162/0.1299, allocations: 71.77 kB / 428.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.13, allocations: 0 / 428.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1301, allocations: 7.875 kB / 428.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.1302, allocations: 23.84 kB / 428.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.1303, allocations: 15.98 kB / 428.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1305, allocations: 63.72 kB / 428.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1306, allocations: 12 kB / 428.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.1306, allocations: 31.86 kB / 428.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.1307, allocations: 23.91 kB / 428.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1307, allocations: 4 kB / 428.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1307, allocations: 4 kB / 428.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.1307, allocations: 15.94 kB / 428.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1308, allocations: 31.86 kB / 428.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1309, allocations: 67.72 kB / 428.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1309, allocations: 0 / 428.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1309, allocations: 0 / 428.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1309, allocations: 0 / 428.4 MB, free: 2.598 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.0005334/0.1315, allocations: 363.3 kB / 428.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.1315, allocations: 8.031 kB / 428.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.1316, allocations: 42.69 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1316, allocations: 8.891 kB / 428.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1319, allocations: 184.2 kB / 429 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1319, allocations: 12.38 kB / 429 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1319, allocations: 4.375 kB / 429 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1321, allocations: 70.23 kB / 429 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1321, allocations: 3.938 kB / 429.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1321, allocations: 0 / 429.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1321, allocations: 3.938 kB / 429.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.1322, allocations: 43.91 kB / 429.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.133, allocations: 375.6 kB / 429.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1331, allocations: 58.5 kB / 429.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.1332, allocations: 16.86 kB / 429.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1332, allocations: 3.984 kB / 429.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.1332, allocations: 34.56 kB / 429.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.627e-06/0.1332, allocations: 3.984 kB / 429.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000873/0.1341, allocations: 0.5171 MB / 430.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.1342, allocations: 55.34 kB / 430.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1343, allocations: 121.8 kB / 430.3 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1343, allocations: 25.7 kB / 430.3 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.1344, allocations: 88.09 kB / 430.4 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1344, allocations: 35.69 kB / 430.4 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1345, allocations: 33.7 kB / 430.4 MB, free: 212 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1347, allocations: 318.8 kB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.1347, allocations: 15.98 kB / 430.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.519e-05/0.1348, allocations: 67.58 kB / 430.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1349, allocations: 85.09 kB / 430.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1349, allocations: 0 / 430.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001881/0.1351, allocations: 117.5 kB / 431 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1351, allocations: 4 kB / 431 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1351, allocations: 4 kB / 431 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1352, allocations: 480 / 431 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.1352, allocations: 32.02 kB / 431.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.1353, allocations: 3.938 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1353, allocations: 4 kB / 431.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1353, allocations: 4 kB / 431.1 MB, free: 15.52 MB / 366.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 0.0001033/0.1354, allocations: 125.7 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1355, allocations: 7.953 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.1355, allocations: 8.375 kB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.1355, allocations: 4 kB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1355, allocations: 3.938 kB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1355, allocations: 7.984 kB / 431.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.1361, allocations: 406.6 kB / 431.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1361, allocations: 4 kB / 431.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.1362, allocations: 19.98 kB / 431.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1362, allocations: 160 / 431.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1362, allocations: 8 kB / 431.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1362, allocations: 3.938 kB / 431.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1362, allocations: 4.188 kB / 431.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1365, allocations: 239.7 kB / 431.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.1366, allocations: 92.98 kB / 432 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.1366, allocations: 4 kB / 432 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.1366, allocations: 0 / 432 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.1367, allocations: 8 kB / 432 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.1367, allocations: 4 kB / 432 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.1367, allocations: 95.27 kB / 432.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1367, allocations: 3.938 kB / 432.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.137, allocations: 20.06 kB / 432.1 MB, free: 14.33 MB / 366.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.0006911/0.1377, allocations: 0.7638 MB / 432.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1379, allocations: 59.89 kB / 433 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1379, allocations: 0 / 433 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.1379, allocations: 27.92 kB / 433 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1382, allocations: 10.28 kB / 433 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.14, allocations: 1.669 MB / 434.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1404, allocations: 0.6924 MB / 435.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.1404, allocations: 8.422 kB / 435.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.1405, allocations: 19.44 kB / 435.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1405, allocations: 0 / 435.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.1689, allocations: 1.924 MB / 437.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/7.885, allocations: 8.656 kB / 437.3 MB, free: 9.035 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.64294060994871]