Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 114.3 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 51.92 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09567, allocations: 53.32 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002747/0.09842, allocations: 1.669 MB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002215/0.09864, allocations: 67.72 kB / 428.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.0987, allocations: 4 kB / 428.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.721e-05/0.09879, allocations: 3.938 kB / 428.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.09884, allocations: 19.84 kB / 428.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.09895, allocations: 19.92 kB / 428.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.09907, allocations: 67.77 kB / 428.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.09917, allocations: 12 kB / 428.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.09921, allocations: 27.86 kB / 428.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.09927, allocations: 27.86 kB / 428.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.09929, allocations: 4 kB / 428.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.0993, allocations: 4 kB / 428.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.09932, allocations: 19.92 kB / 428.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.09936, allocations: 27.86 kB / 429 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.09949, allocations: 67.72 kB / 429 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09949, allocations: 0 / 429 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09949, allocations: 4 kB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.0995, allocations: 0 / 429 MB, free: 2.758 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.0004566/0.09996, allocations: 361.8 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.09999, allocations: 12.03 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.455e-05/0.1, allocations: 192 / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.1, allocations: 38.75 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.1001, allocations: 8.891 kB / 429.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1003, allocations: 192.2 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1003, allocations: 8.375 kB / 429.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1003, allocations: 8.375 kB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1005, allocations: 75.81 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1005, allocations: 0 / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1005, allocations: 0 / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1005, allocations: 4 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.1006, allocations: 35.97 kB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.1012, allocations: 375.6 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1013, allocations: 54.56 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.1013, allocations: 17.02 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1013, allocations: 3.984 kB / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1014, allocations: 42.48 kB / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1014, allocations: 0 / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007439/0.1021, allocations: 0.5135 MB / 430.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.1021, allocations: 59.28 kB / 430.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1022, allocations: 117.8 kB / 430.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1023, allocations: 25.7 kB / 431 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.1023, allocations: 88.09 kB / 431 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.1024, allocations: 43.67 kB / 431.1 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1024, allocations: 29.7 kB / 431.1 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1025, allocations: 318.8 kB / 431.4 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.1026, allocations: 15.98 kB / 431.4 MB, free: 36 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.1027, allocations: 61.14 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1028, allocations: 93.02 kB / 431.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1028, allocations: 0 / 431.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001664/0.1029, allocations: 109.5 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1029, allocations: 4 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.103, allocations: 4.312 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.103, allocations: 0 / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.1031, allocations: 36.02 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1031, allocations: 4 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.1031, allocations: 0 / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1031, allocations: 7.984 kB / 431.8 MB, free: 15.68 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 8.741e-05/0.1032, allocations: 125.7 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1032, allocations: 7.953 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.1033, allocations: 8.375 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1033, allocations: 7.938 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1033, allocations: 0 / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1033, allocations: 8.453 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1038, allocations: 398.6 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1038, allocations: 4 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1039, allocations: 23.98 kB / 432.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1039, allocations: 0 / 432.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1039, allocations: 12.09 kB / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1039, allocations: 0 / 432.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1039, allocations: 8 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.1042, allocations: 239.6 kB / 432.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.1042, allocations: 92.98 kB / 432.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1042, allocations: 4 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.1043, allocations: 4 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.1043, allocations: 8 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1043, allocations: 0 / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.542e-05/0.1044, allocations: 95.27 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1044, allocations: 0 / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1047, allocations: 24 kB / 432.8 MB, free: 14.5 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.0005315/0.1052, allocations: 0.7634 MB / 433.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1053, allocations: 52.2 kB / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1053, allocations: 3.938 kB / 433.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.661e-05/0.1054, allocations: 28.11 kB / 433.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.1057, allocations: 16.55 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1074, allocations: 1.668 MB / 435.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1077, allocations: 0.6929 MB / 436 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.1077, allocations: 8.422 kB / 436 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.1078, allocations: 19.44 kB / 436.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1078, allocations: 0 / 436.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.1271, allocations: 1.962 MB / 438 MB, free: 9.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.019, allocations: 4.062 kB / 438 MB, free: 9.184 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/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_4.1.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.44612738903379]