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.001362/0.001362, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.001463/0.001463, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.001816/0.001816, allocations: 67.89 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 53.32 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002958/0.109, allocations: 1.655 MB / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002451/0.1093, allocations: 71.72 kB / 428.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.1093, allocations: 0 / 428.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.851e-05/0.1094, allocations: 7.938 kB / 428.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.1095, allocations: 23.78 kB / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1096, allocations: 19.97 kB / 428.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.1097, allocations: 59.73 kB / 428.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1098, allocations: 15.98 kB / 428.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.1099, allocations: 23.92 kB / 428.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.1099, allocations: 31.8 kB / 428.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.11, allocations: 11.98 kB / 428.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.11, allocations: 8 kB / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.11, allocations: 7.938 kB / 428.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.11, allocations: 31.86 kB / 428.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1102, allocations: 63.72 kB / 428.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1102, allocations: 0 / 428.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1102, allocations: 0 / 428.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.1102, allocations: 0 / 428.7 MB, free: 2.996 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.0005239/0.1107, allocations: 371.3 kB / 429 MB, free: 2.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1108, allocations: 8.031 kB / 429 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.1108, allocations: 38.75 kB / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.1108, allocations: 8.891 kB / 429.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.1111, allocations: 192.2 kB / 429.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1111, allocations: 4.375 kB / 429.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1111, allocations: 8.375 kB / 429.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1113, allocations: 66.23 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1113, allocations: 3.938 kB / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1113, allocations: 4 kB / 429.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1113, allocations: 4 kB / 429.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.1114, allocations: 31.98 kB / 429.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.112, allocations: 383.6 kB / 429.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1121, allocations: 54.56 kB / 429.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.1122, allocations: 16.86 kB / 429.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.1122, allocations: 0 / 429.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1122, allocations: 38.5 kB / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1122, allocations: 0 / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007704/0.113, allocations: 0.5136 MB / 430.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.113, allocations: 51.41 kB / 430.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1131, allocations: 133.7 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1131, allocations: 29.7 kB / 430.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.1132, allocations: 92.08 kB / 430.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.1132, allocations: 35.69 kB / 430.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1133, allocations: 25.72 kB / 430.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1134, allocations: 322.8 kB / 431.1 MB, free: 288 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.1134, allocations: 15.98 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.1135, allocations: 61.14 kB / 431.1 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1136, allocations: 89.02 kB / 431.2 MB, free: 84 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1136, allocations: 0 / 431.2 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001813/0.1138, allocations: 113.5 kB / 431.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1138, allocations: 7.984 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1138, allocations: 4 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1138, allocations: 0 / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.1139, allocations: 20 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1139, allocations: 7.922 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.114, allocations: 11.94 kB / 431.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.114, allocations: 4 kB / 431.4 MB, free: 15.91 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.0001041/0.1141, allocations: 117.9 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1141, allocations: 11.95 kB / 431.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.1142, allocations: 12.38 kB / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1142, allocations: 4 kB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1142, allocations: 3.938 kB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1142, allocations: 0 / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.1147, allocations: 406.6 kB / 431.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1147, allocations: 4 kB / 431.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.1148, allocations: 19.98 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1148, allocations: 0 / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1148, allocations: 8 kB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.1148, allocations: 4 kB / 432 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1148, allocations: 4 kB / 432 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.115, allocations: 240.2 kB / 432.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1151, allocations: 81.06 kB / 432.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1151, allocations: 11.92 kB / 432.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1152, allocations: 4 kB / 432.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.1152, allocations: 8.156 kB / 432.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1152, allocations: 7.938 kB / 432.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.046e-05/0.1152, allocations: 95.27 kB / 432.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1152, allocations: 0 / 432.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1155, allocations: 16 kB / 432.4 MB, free: 14.74 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.0005593/0.116, allocations: 0.7636 MB / 433.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1162, allocations: 63.83 kB / 433.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.1162, allocations: 256 / 433.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.1162, allocations: 31.94 kB / 433.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1166, allocations: 14.17 kB / 433.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1183, allocations: 1.661 MB / 435 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1186, allocations: 0.6924 MB / 435.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.1186, allocations: 12.42 kB / 435.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.1186, allocations: 23.44 kB / 435.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1186, allocations: 0 / 435.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.1504, allocations: 1.917 MB / 437.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.257, allocations: 10.67 kB / 437.6 MB, free: 9.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.036267944611609]