Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 114.5 kB / 17.73 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 187 kB / 18.66 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 51.94 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07427/0.07548, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002778/0.07829, allocations: 1.624 MB / 376.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.0786, allocations: 67.78 kB / 376.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.07868, allocations: 0 / 376.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.582e-05/0.07881, allocations: 15.81 kB / 376.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.07888, allocations: 15.84 kB / 376.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.079, allocations: 15.98 kB / 376.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.07913, allocations: 71.72 kB / 376.4 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.07925, allocations: 20.2 kB / 376.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.07931, allocations: 31.92 kB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.07938, allocations: 27.86 kB / 376.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.0794, allocations: 4 kB / 376.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.07942, allocations: 4 kB / 376.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.07945, allocations: 15.92 kB / 376.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.07949, allocations: 31.86 kB / 376.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.07961, allocations: 55.8 kB / 376.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.07962, allocations: 0 / 376.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07963, allocations: 0 / 376.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.07964, allocations: 0 / 376.6 MB, free: 3.082 MB / 318.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.0004301/0.08007, allocations: 371.3 kB / 377 MB, free: 2.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.08012, allocations: 8.031 kB / 377 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.08016, allocations: 38.73 kB / 377 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.0802, allocations: 12.78 kB / 377 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.08043, allocations: 176.4 kB / 377.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.08044, allocations: 4.375 kB / 377.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.08048, allocations: 12.28 kB / 377.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.08062, allocations: 70.22 kB / 377.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.08065, allocations: 3.938 kB / 377.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.08067, allocations: 8 kB / 377.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.08067, allocations: 0 / 377.3 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.08076, allocations: 43.84 kB / 377.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.08139, allocations: 375.6 kB / 377.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.0815, allocations: 58.5 kB / 377.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.08154, allocations: 20.84 kB / 377.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.08155, allocations: 4 kB / 377.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.08158, allocations: 34.56 kB / 377.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.08158, allocations: 0 / 377.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000693/0.08228, allocations: 0.5052 MB / 378.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.08233, allocations: 55.41 kB / 378.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.08242, allocations: 121.8 kB / 378.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.08245, allocations: 29.7 kB / 378.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.0825, allocations: 103.9 kB / 378.6 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.08253, allocations: 27.56 kB / 378.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.08258, allocations: 33.64 kB / 378.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.08268, allocations: 310.8 kB / 379 MB, free: 384 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.08272, allocations: 23.98 kB / 379 MB, free: 360 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.08279, allocations: 65.08 kB / 379.1 MB, free: 276 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.832e-05/0.08289, allocations: 85.08 kB / 379.2 MB, free: 172 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.0829, allocations: 0 / 379.2 MB, free: 172 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001512/0.08306, allocations: 113.5 kB / 379.3 MB, free: 52 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.08308, allocations: 8 kB / 379.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.0831, allocations: 0 / 379.3 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.08312, allocations: 4.141 kB / 379.3 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.0832, allocations: 23.92 kB / 379.3 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.08322, allocations: 8.406 kB / 379.3 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.08326, allocations: 4 kB / 379.3 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1509/0.2342, allocations: 7.875 kB / 379.3 MB, free: 12.76 MB / 318.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.0001095/0.2343, allocations: 122.8 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.2344, allocations: 4.406 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.2344, allocations: 10.5 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2344, allocations: 2.234 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2344, allocations: 1.438 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2344, allocations: 6.656 kB / 379.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.2349, allocations: 405.7 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.235, allocations: 5.594 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.2351, allocations: 23.48 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.2351, allocations: 2.156 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2351, allocations: 5.156 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.2351, allocations: 5.766 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2351, allocations: 5.062 kB / 379.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.2353, allocations: 230.5 kB / 380.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.2353, allocations: 90.83 kB / 380.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2353, allocations: 7.203 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.2354, allocations: 4.625 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2355, allocations: 7.281 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2355, allocations: 6.906 kB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.2355, allocations: 97.77 kB / 380.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2355, allocations: 1.203 kB / 380.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.2358, allocations: 16.94 kB / 380.4 MB, free: 11.97 MB / 318.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.0002956/0.2361, allocations: 0.7587 MB / 381.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.2362, allocations: 64.81 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2362, allocations: 0 / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.2363, allocations: 29.73 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.2366, allocations: 15.23 kB / 381.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2378, allocations: 1.667 MB / 382.9 MB, free: 9.879 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.2379, allocations: 0.6954 MB / 383.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.2379, allocations: 10.41 kB / 383.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.238, allocations: 24.8 kB / 383.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.238, allocations: 0 / 383.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.969/2.207, allocations: 1.917 MB / 385.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/13.4, allocations: 20.64 kB / 385.6 MB, free: 8.633 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches