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.001566/0.001566, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001663/0.001663, allocations: 191 kB / 18.66 MB, free: 4.438 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.208/1.208, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001248/0.001248, allocations: 48.31 kB / 328 MB, free: 3.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08199, allocations: 46.62 MB / 374.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002582/0.08461, allocations: 1.628 MB / 376.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002662/0.0849, allocations: 71.78 kB / 376.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.08502, allocations: 3.938 kB / 376.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.08519, allocations: 15.86 kB / 376.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.08526, allocations: 11.86 kB / 376.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.08544, allocations: 15.98 kB / 376.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.0856, allocations: 71.7 kB / 376.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.08574, allocations: 24.22 kB / 376.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.08579, allocations: 27.92 kB / 376.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.543e-05/0.08587, allocations: 23.86 kB / 376.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.0859, allocations: 4 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.08592, allocations: 4 kB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.08595, allocations: 23.91 kB / 376.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.086, allocations: 23.88 kB / 376.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.08614, allocations: 59.8 kB / 376.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.08615, allocations: 3.938 kB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.08615, allocations: 0 / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.08617, allocations: 4 kB / 376.6 MB, free: 3.098 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.0004542/0.08663, allocations: 367.3 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.08667, allocations: 12.03 kB / 377 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.08672, allocations: 38.73 kB / 377 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.08675, allocations: 8.844 kB / 377 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.08696, allocations: 172.4 kB / 377.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.08698, allocations: 4.375 kB / 377.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.08701, allocations: 16.28 kB / 377.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.08716, allocations: 70.17 kB / 377.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.08718, allocations: 7.938 kB / 377.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.0872, allocations: 3.938 kB / 377.3 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.08721, allocations: 3.984 kB / 377.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.08729, allocations: 47.84 kB / 377.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.08787, allocations: 363.7 kB / 377.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.797e-05/0.08798, allocations: 66.5 kB / 377.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.08802, allocations: 20.84 kB / 377.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.08804, allocations: 0 / 377.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.08807, allocations: 30.56 kB / 377.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.08807, allocations: 4 kB / 377.8 MB, free: 1.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006628/0.08874, allocations: 0.5091 MB / 378.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.08878, allocations: 51.41 kB / 378.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.08887, allocations: 125.7 kB / 378.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.08889, allocations: 29.7 kB / 378.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.08895, allocations: 103.9 kB / 378.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.08899, allocations: 31.55 kB / 378.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.08903, allocations: 29.64 kB / 378.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.08913, allocations: 318.8 kB / 379 MB, free: 392 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.08917, allocations: 23.98 kB / 379 MB, free: 368 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.08923, allocations: 53.14 kB / 379.1 MB, free: 296 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.339e-05/0.08933, allocations: 89.08 kB / 379.2 MB, free: 188 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.08934, allocations: 0 / 379.2 MB, free: 188 kB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001406/0.08948, allocations: 113.5 kB / 379.3 MB, free: 68 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.0895, allocations: 8 kB / 379.3 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.08951, allocations: 1.328 kB / 379.3 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.08953, allocations: 4 kB / 379.3 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.08962, allocations: 23.92 kB / 379.3 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.08963, allocations: 7.938 kB / 379.3 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.764e-05/0.08967, allocations: 4.094 kB / 379.3 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.08969, allocations: 11.94 kB / 379.4 MB, free: 8 kB / 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.1574/0.2471, allocations: 119.3 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2472, allocations: 4.688 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.2472, allocations: 9.406 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2472, allocations: 2.828 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2473, allocations: 1.406 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2473, allocations: 0.7969 kB / 379.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.2479, allocations: 407.5 kB / 379.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2479, allocations: 1.75 kB / 379.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.248, allocations: 24.81 kB / 379.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.248, allocations: 5.781 kB / 379.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.248, allocations: 6.031 kB / 379.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.248, allocations: 2.594 kB / 379.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.248, allocations: 2.766 kB / 379.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2482, allocations: 231.2 kB / 380.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.2483, allocations: 89.55 kB / 380.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.2483, allocations: 3.641 kB / 380.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.2484, allocations: 1.375 kB / 380.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.2484, allocations: 13.8 kB / 380.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2484, allocations: 4.125 kB / 380.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.694e-05/0.2485, allocations: 89.05 kB / 380.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2485, allocations: 1.203 kB / 380.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.2488, allocations: 17 kB / 380.4 MB, free: 12.01 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.0003335/0.2492, allocations: 0.7717 MB / 381.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2493, allocations: 66.62 kB / 381.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2493, allocations: 0 / 381.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.2494, allocations: 32.27 kB / 381.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2497, allocations: 15.14 kB / 381.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.251, allocations: 1.666 MB / 382.9 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2511, allocations: 0.6955 MB / 383.6 MB, free: 9.215 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.2511, allocations: 13.95 kB / 383.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.2512, allocations: 23.5 kB / 383.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2512, allocations: 0 / 383.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2694, allocations: 1.918 MB / 385.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.304, allocations: 8.969 kB / 385.6 MB, free: 8.668 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