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.00103/0.00103, allocations: 101 kB / 16.94 MB, free: 5.98 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.0009534/0.0009536, allocations: 178.1 kB / 17.82 MB, free: 5.652 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.505/1.505, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004516/0.0004517, allocations: 12 kB / 280.9 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09495, allocations: 47.57 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001774/0.09677, allocations: 1.31 MB / 329.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002075/0.09699, allocations: 75.75 kB / 329.8 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.09707, allocations: 4 kB / 329.8 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.0971, allocations: 7.984 kB / 329.8 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.09719, allocations: 19.91 kB / 329.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.0973, allocations: 11.98 kB / 329.8 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.09743, allocations: 47.92 kB / 329.9 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.09755, allocations: 11.98 kB / 329.9 MB, free: 2.516 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.09759, allocations: 19.94 kB / 329.9 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.09765, allocations: 23.86 kB / 329.9 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.09767, allocations: 4 kB / 329.9 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.09769, allocations: 4 kB / 330 MB, free: 2.465 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.09771, allocations: 11.98 kB / 330 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.09775, allocations: 37.64 kB / 330 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 7.652e-05/0.09783, allocations: 48.12 kB / 330 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.09784, allocations: 0 / 330 MB, free: 2.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09785, allocations: 0 / 330 MB, free: 2.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.09786, allocations: 0 / 330 MB, free: 2.363 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.0004257/0.09829, allocations: 355.2 kB / 330.4 MB, free: 1.969 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.09834, allocations: 8.031 kB / 330.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.09839, allocations: 34.56 kB / 330.4 MB, free: 1.918 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.09843, allocations: 7.906 kB / 330.4 MB, free: 1.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.0986, allocations: 194.8 kB / 330.6 MB, free: 1.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.09862, allocations: 0 / 330.6 MB, free: 1.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.09865, allocations: 12 kB / 330.6 MB, free: 1.668 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.09879, allocations: 61.67 kB / 330.7 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.09881, allocations: 7.906 kB / 330.7 MB, free: 1.594 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.09883, allocations: 4 kB / 330.7 MB, free: 1.59 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09884, allocations: 7.938 kB / 330.7 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.09892, allocations: 35.36 kB / 330.8 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.09951, allocations: 379.6 kB / 331.1 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.195e-05/0.09962, allocations: 54.56 kB / 331.2 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.09963, allocations: 0 / 331.2 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.09966, allocations: 34.56 kB / 331.2 MB, free: 1.016 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.09967, allocations: 0 / 331.2 MB, free: 1.016 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006715/0.1003, allocations: 0.5207 MB / 331.7 MB, free: 412 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1004, allocations: 51.41 kB / 331.8 MB, free: 348 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.1005, allocations: 114 kB / 331.9 MB, free: 220 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1005, allocations: 29.7 kB / 331.9 MB, free: 184 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.1006, allocations: 99.94 kB / 332 MB, free: 80 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1006, allocations: 35.48 kB / 332.1 MB, free: 44 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.1006, allocations: 0 / 332.1 MB, free: 44 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1007, allocations: 318.8 kB / 332.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/0.1008, allocations: 19.98 kB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.1008, allocations: 61.14 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.1009, allocations: 28.39 kB / 332.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1009, allocations: 0 / 332.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001516/0.1011, allocations: 109.5 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1011, allocations: 4 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1011, allocations: 4 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1011, allocations: 3.938 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.1012, allocations: 36.08 kB / 332.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1012, allocations: 3.953 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.1013, allocations: 4 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1013, allocations: 4 kB / 332.6 MB, free: 15.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.1014, allocations: 125.8 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1014, allocations: 4 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.1014, allocations: 8.375 kB / 332.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.1014, allocations: 4 kB / 332.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1015, allocations: 4 kB / 332.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1015, allocations: 3.953 kB / 332.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.1019, allocations: 402.6 kB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1019, allocations: 4 kB / 333.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.102, allocations: 28.08 kB / 333.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.102, allocations: 7.953 kB / 333.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.102, allocations: 4 kB / 333.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.102, allocations: 0 / 333.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1021, allocations: 4 kB / 333.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1023, allocations: 284.2 kB / 333.5 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1024, allocations: 88.95 kB / 333.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1024, allocations: 4 kB / 333.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.1025, allocations: 4.016 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.1025, allocations: 15.98 kB / 333.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1025, allocations: 4 kB / 333.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.476e-05/0.1026, allocations: 91.27 kB / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1026, allocations: 4 kB / 333.7 MB, free: 14.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1029, allocations: 16 kB / 333.7 MB, free: 14.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006743/0.1036, allocations: 1.163 MB / 334.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1038, allocations: 64.27 kB / 335 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1038, allocations: 0 / 335 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.1038, allocations: 23.94 kB / 335 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1041, allocations: 20.69 kB / 335 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1054, allocations: 1.503 MB / 336.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1057, allocations: 0.6965 MB / 337.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.1058, allocations: 4.438 kB / 337.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.1058, allocations: 23.42 kB / 337.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1059, allocations: 4 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.1174, allocations: 1.63 MB / 338.9 MB, free: 8.887 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.1176, allocations: 181.4 kB / 339 MB, free: 8.648 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.79, allocations: 4 kB / 339 MB, free: 8.645 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat