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.001722/0.001722, allocations: 123.9 kB / 17.79 MB, free: 5.246 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.002035/0.002035, allocations: 185.2 kB / 20.73 MB, free: 2.316 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.353/1.353, allocations: 225.6 MB / 249.1 MB, free: 3.641 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="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.00153/0.00153, allocations: 47.92 kB / 365.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003187/0.1052, allocations: 1.645 MB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.1054, allocations: 67.72 kB / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.1055, allocations: 0 / 419.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.1056, allocations: 11.86 kB / 419.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.1057, allocations: 19.8 kB / 419.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.1058, allocations: 19.98 kB / 419.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1059, allocations: 67.7 kB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1061, allocations: 19.98 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.1061, allocations: 19.94 kB / 419.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.1062, allocations: 27.86 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1062, allocations: 4 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.1062, allocations: 4 kB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.1062, allocations: 19.91 kB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.1063, allocations: 23.88 kB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1064, allocations: 71.66 kB / 419.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1064, allocations: 0 / 419.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1064, allocations: 4 kB / 419.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1064, allocations: 0 / 419.8 MB, free: 10.63 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.0005118/0.107, allocations: 363.3 kB / 420.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.107, allocations: 15.97 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.107, allocations: 38.73 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.1071, allocations: 12.89 kB / 420.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1073, allocations: 188.2 kB / 420.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1073, allocations: 384 / 420.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1074, allocations: 16.38 kB / 420.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1075, allocations: 65.33 kB / 420.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1075, allocations: 11.89 kB / 420.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1076, allocations: 4 kB / 420.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1076, allocations: 0 / 420.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.1076, allocations: 39.91 kB / 420.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.1083, allocations: 367.7 kB / 420.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1084, allocations: 54.56 kB / 420.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.1085, allocations: 24.94 kB / 421 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.1085, allocations: 7.984 kB / 421 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1085, allocations: 30.56 kB / 421 MB, free: 9.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1085, allocations: 0 / 421 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00077/0.1093, allocations: 0.513 MB / 421.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1094, allocations: 51.41 kB / 421.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1095, allocations: 117.8 kB / 421.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1095, allocations: 29.7 kB / 421.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.1096, allocations: 92.08 kB / 421.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1096, allocations: 43.67 kB / 421.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.1097, allocations: 22.19 kB / 421.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1098, allocations: 330.8 kB / 422.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.1098, allocations: 16 kB / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.738e-05/0.1099, allocations: 61.08 kB / 422.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.11, allocations: 89.08 kB / 422.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.11, allocations: 3.938 kB / 422.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000176/0.1102, allocations: 113.6 kB / 422.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1102, allocations: 4 kB / 422.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1102, allocations: 0 / 422.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1102, allocations: 4 kB / 422.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.1103, allocations: 23.98 kB / 422.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1103, allocations: 7.875 kB / 422.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1104, allocations: 8.094 kB / 422.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1104, allocations: 8 kB / 422.5 MB, free: 7.539 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 0.0001007/0.1105, allocations: 118.4 kB / 422.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1105, allocations: 4 kB / 422.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.189e-05/0.1106, allocations: 12.36 kB / 422.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1106, allocations: 0 / 422.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1106, allocations: 3.938 kB / 422.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1106, allocations: 4 kB / 422.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.1111, allocations: 410.6 kB / 423 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1111, allocations: 4 kB / 423.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.1112, allocations: 12 kB / 423.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1112, allocations: 8 kB / 423.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1112, allocations: 7.984 kB / 423.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1112, allocations: 160 / 423.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.1112, allocations: 11.94 kB / 423.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1114, allocations: 231.7 kB / 423.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.1115, allocations: 89.16 kB / 423.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.1115, allocations: 4 kB / 423.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.1116, allocations: 0 / 423.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.1116, allocations: 11.98 kB / 423.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1116, allocations: 4 kB / 423.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.1117, allocations: 95.3 kB / 423.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1117, allocations: 0 / 423.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1119, allocations: 23.94 kB / 423.5 MB, free: 6.371 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.0005421/0.1125, allocations: 0.7712 MB / 424.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1126, allocations: 55.86 kB / 424.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1126, allocations: 0 / 424.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.1127, allocations: 27.92 kB / 424.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.113, allocations: 12.91 kB / 424.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.1147, allocations: 1.674 MB / 426.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.115, allocations: 0.6967 MB / 426.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.115, allocations: 4.438 kB / 426.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.1151, allocations: 23.42 kB / 426.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1151, allocations: 0 / 426.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7835/0.8986, allocations: 1.921 MB / 428.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.456, allocations: 16.39 kB / 428.7 MB, free: 1.062 MB / 350.1 MB " [Timeout remaining time 650] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.927009742241353]