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.001105/0.001105, allocations: 107.4 kB / 17.15 MB, free: 6.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.0009655/0.0009655, allocations: 198 kB / 18.07 MB, free: 5.434 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.219/1.219, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001086/0.001086, allocations: 43.94 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07368/0.07478, allocations: 46.62 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002772/0.07758, allocations: 1.682 MB / 328.4 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.07784, allocations: 75.72 kB / 328.4 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.07792, allocations: 4 kB / 328.5 MB, free: 3.027 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.898e-05/0.07803, allocations: 7.922 kB / 328.5 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.07808, allocations: 19.84 kB / 328.5 MB, free: 3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.0782, allocations: 12 kB / 328.5 MB, free: 2.988 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.07832, allocations: 59.73 kB / 328.5 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.07842, allocations: 15.98 kB / 328.6 MB, free: 2.914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.07846, allocations: 19.92 kB / 328.6 MB, free: 2.895 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.07852, allocations: 31.84 kB / 328.6 MB, free: 2.863 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.07854, allocations: 4 kB / 328.6 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.07856, allocations: 7.938 kB / 328.6 MB, free: 2.852 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.07859, allocations: 15.94 kB / 328.6 MB, free: 2.836 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.07863, allocations: 27.86 kB / 328.7 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.762e-05/0.07873, allocations: 60 kB / 328.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.07874, allocations: 0 / 328.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.02e-07/0.07874, allocations: 0 / 328.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.07875, allocations: 0 / 328.7 MB, free: 2.75 MB / 270.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.0004551/0.07921, allocations: 363.4 kB / 329.1 MB, free: 2.344 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.07925, allocations: 8.031 kB / 329.1 MB, free: 2.336 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.07929, allocations: 38.75 kB / 329.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.07933, allocations: 16.84 kB / 329.1 MB, free: 2.273 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.07948, allocations: 188.1 kB / 329.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.0795, allocations: 4.375 kB / 329.3 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.07953, allocations: 8.375 kB / 329.3 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.07966, allocations: 66.23 kB / 329.4 MB, free: 1.969 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.07968, allocations: 3.938 kB / 329.4 MB, free: 1.965 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.0797, allocations: 4 kB / 329.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.07971, allocations: 7.984 kB / 329.4 MB, free: 1.953 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.07979, allocations: 27.98 kB / 329.4 MB, free: 1.926 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.08038, allocations: 387.5 kB / 329.8 MB, free: 1.488 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.24e-05/0.08048, allocations: 54.56 kB / 329.9 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.08052, allocations: 20.8 kB / 329.9 MB, free: 1.402 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.08054, allocations: 4 kB / 329.9 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.08057, allocations: 34.56 kB / 329.9 MB, free: 1.355 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.08057, allocations: 0 / 329.9 MB, free: 1.355 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006557/0.08123, allocations: 0.513 MB / 330.5 MB, free: 0.75 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.08128, allocations: 51.41 kB / 330.5 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.08137, allocations: 121.8 kB / 330.6 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.08139, allocations: 25.7 kB / 330.6 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.08145, allocations: 104 kB / 330.7 MB, free: 432 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.08148, allocations: 35.48 kB / 330.8 MB, free: 396 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.08152, allocations: 25.72 kB / 330.8 MB, free: 364 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.08163, allocations: 322.8 kB / 331.1 MB, free: 32 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.08167, allocations: 12 kB / 331.1 MB, free: 20 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.389e-05/0.08176, allocations: 57.22 kB / 331.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.08187, allocations: 93.02 kB / 331.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.08188, allocations: 0 / 331.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000167/0.08205, allocations: 113.5 kB / 331.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.08208, allocations: 8.094 kB / 331.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.08209, allocations: 0 / 331.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.08211, allocations: 4 kB / 331.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.0822, allocations: 23.98 kB / 331.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.08222, allocations: 7.875 kB / 331.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.08227, allocations: 8 kB / 331.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.08229, allocations: 4 kB / 331.4 MB, free: 15.66 MB / 286.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 9.299e-05/0.08239, allocations: 117.8 kB / 331.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.08242, allocations: 7.906 kB / 331.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.08246, allocations: 16.38 kB / 331.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.08247, allocations: 0 / 331.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.08248, allocations: 3.938 kB / 331.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.08249, allocations: 0 / 331.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.08295, allocations: 410.5 kB / 332 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.08297, allocations: 8.031 kB / 332 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.08306, allocations: 19.98 kB / 332 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.08307, allocations: 4 kB / 332 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.08309, allocations: 8 kB / 332 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.0831, allocations: 0 / 332 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.0831, allocations: 3.938 kB / 332 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.08334, allocations: 231.6 kB / 332.3 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.08339, allocations: 81.14 kB / 332.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.08341, allocations: 8.469 kB / 332.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.08349, allocations: 0 / 332.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.08352, allocations: 7.984 kB / 332.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.08353, allocations: 8.062 kB / 332.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.732e-05/0.0836, allocations: 103.1 kB / 332.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08361, allocations: 0 / 332.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.08386, allocations: 16 kB / 332.5 MB, free: 14.5 MB / 286.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.0005086/0.08438, allocations: 0.7594 MB / 333.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.08453, allocations: 59.86 kB / 333.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.08454, allocations: 0 / 333.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.08458, allocations: 32.48 kB / 333.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.08499, allocations: 19.98 kB / 333.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.08659, allocations: 1.679 MB / 335 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.08686, allocations: 0.7004 MB / 335.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.08693, allocations: 8.422 kB / 335.7 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.08697, allocations: 19.44 kB / 335.8 MB, free: 11.01 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08698, allocations: 0 / 335.8 MB, free: 11.01 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.1048, allocations: 1.728 MB / 337.5 MB, free: 9.262 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.1051, allocations: 205.8 kB / 337.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.745, allocations: 3.938 kB / 337.7 MB, free: 9 MB / 286.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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches