Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002332/0.002332, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.736/1.736, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 85.48 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.821e-05/4.822e-05, allocations: 0 / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.169, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5061/0.6752, allocations: 77.47 MB / 479.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.6755, allocations: 66.39 kB / 479.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00878/0.6843, allocations: 3.584 MB / 483.2 MB, free: 8.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6844, allocations: 0 / 483.2 MB, free: 8.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.6844, allocations: 4 kB / 483.2 MB, free: 8.926 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006974/0.6851, allocations: 457.6 kB / 483.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.6852, allocations: 8.031 kB / 483.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.568e-05/0.6853, allocations: 58.94 kB / 483.7 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.6854, allocations: 23.72 kB / 483.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.6856, allocations: 190.8 kB / 484 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.6856, allocations: 16.98 kB / 484 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.6857, allocations: 31.72 kB / 484 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.6862, allocations: 221.1 kB / 484.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.6862, allocations: 7.938 kB / 484.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.6862, allocations: 7.438 kB / 484.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.6863, allocations: 8 kB / 484.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.6865, allocations: 134.4 kB / 484.4 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.6877, allocations: 0.8597 MB / 485.2 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.6879, allocations: 157.7 kB / 485.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.688, allocations: 63.27 kB / 485.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.688, allocations: 3.984 kB / 485.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.688, allocations: 34.56 kB / 485.5 MB, free: 6.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.928e-06/0.688, allocations: 4 kB / 485.5 MB, free: 6.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003265/0.6884, allocations: 133.6 kB / 485.6 MB, free: 6.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.6884, allocations: 106.1 kB / 485.7 MB, free: 6.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.6886, allocations: 178.3 kB / 485.9 MB, free: 6.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.6886, allocations: 29.7 kB / 485.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.6887, allocations: 158.2 kB / 486.1 MB, free: 6.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.6888, allocations: 60.55 kB / 486.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.6888, allocations: 11.31 kB / 486.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6889, allocations: 333.5 kB / 486.5 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.689, allocations: 45.75 kB / 486.5 MB, free: 5.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.6892, allocations: 149.6 kB / 486.7 MB, free: 5.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.6893, allocations: 71.52 kB / 486.7 MB, free: 5.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6893, allocations: 4 kB / 486.7 MB, free: 5.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003106/0.6896, allocations: 245.8 kB / 487 MB, free: 5.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6896, allocations: 4 kB / 487 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6897, allocations: 5.797 kB / 487 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.6897, allocations: 11.95 kB / 487 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.6899, allocations: 67.53 kB / 487.1 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6899, allocations: 4 kB / 487.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.6901, allocations: 25.69 kB / 487.1 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.6901, allocations: 15.62 kB / 487.1 MB, free: 5.234 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.694e-05/0.6902, allocations: 124.3 kB / 487.2 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.6903, allocations: 15.81 kB / 487.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.537e-05/0.6904, allocations: 24.08 kB / 487.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6904, allocations: 4 kB / 487.3 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.6904, allocations: 3.953 kB / 487.3 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6904, allocations: 4.031 kB / 487.3 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.6909, allocations: 418.5 kB / 487.7 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6909, allocations: 12.03 kB / 487.7 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.6911, allocations: 35.61 kB / 487.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6911, allocations: 10.3 kB / 487.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6911, allocations: 4 kB / 487.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6911, allocations: 0 / 487.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6911, allocations: 0 / 487.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.6915, allocations: 426.9 kB / 488.2 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.6915, allocations: 92.23 kB / 488.3 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.6916, allocations: 4 kB / 488.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6917, allocations: 7.438 kB / 488.3 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.6917, allocations: 15.98 kB / 488.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6918, allocations: 9.625 kB / 488.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.6918, allocations: 137.1 kB / 488.4 MB, free: 3.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6919, allocations: 7.875 kB / 488.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.6922, allocations: 62.53 kB / 488.5 MB, free: 3.855 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0005533/0.6927, allocations: 1.219 MB / 489.7 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.693, allocations: 136.6 kB / 489.9 MB, free: 2.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.693, allocations: 0 / 489.9 MB, free: 2.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.693, allocations: 55.88 kB / 489.9 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.6934, allocations: 21.55 kB / 489.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009544/0.6944, allocations: 0.5475 MB / 490.5 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.6945, allocations: 0.7416 MB / 491.2 MB, free: 1.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.75e-05/0.6946, allocations: 22.06 kB / 491.2 MB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.6947, allocations: 55.98 kB / 491.3 MB, free: 1.129 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6947, allocations: 0 / 491.3 MB, free: 1.129 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.7092, allocations: 3.3 MB / 494.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.7095, allocations: 164.6 kB / 494.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.792, allocations: 0 / 494.8 MB, free: 13.82 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat