Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008914/0.0008917, allocations: 98.16 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.649e-05/4.68e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1612, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5036/0.6649, allocations: 95.76 MB / 0.5953 GB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.6652, allocations: 79.95 kB / 0.5954 GB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03619/0.7014, allocations: 13.36 MB / 0.6084 GB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7015, allocations: 0 / 0.6084 GB, free: 11.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.006e-05/0.7015, allocations: 12 kB / 0.6084 GB, free: 11.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002211/0.7038, allocations: 0.8448 MB / 0.6093 GB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.7038, allocations: 8.031 kB / 0.6093 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003388/0.7042, allocations: 131.1 kB / 0.6094 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7053, allocations: 186.7 kB / 0.6096 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.7065, allocations: 0.4951 MB / 0.6101 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.7066, allocations: 45.3 kB / 0.6101 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.7067, allocations: 71.92 kB / 0.6102 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.7087, allocations: 1.249 MB / 0.6114 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.7088, allocations: 7.938 kB / 0.6114 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/0.7089, allocations: 27.98 kB / 0.6114 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.709, allocations: 108.7 kB / 0.6115 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.7103, allocations: 0.7717 MB / 0.6123 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005959/0.7163, allocations: 6.004 MB / 0.6181 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.7165, allocations: 42.55 kB / 0.6182 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.7165, allocations: 32.92 kB / 0.6182 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.7166, allocations: 8.031 kB / 0.6182 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.7166, allocations: 30.56 kB / 0.6183 GB, free: 1.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.7166, allocations: 0 / 0.6183 GB, free: 1.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003873/0.717, allocations: 144.9 kB / 0.6184 GB, free: 1.262 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.7171, allocations: 59.39 kB / 0.6185 GB, free: 1.191 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.7182, allocations: 0.7572 MB / 0.6192 GB, free: 436 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.7182, allocations: 25.7 kB / 0.6192 GB, free: 404 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.7187, allocations: 0.536 MB / 0.6197 GB, free: 15.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.7187, allocations: 27.8 kB / 0.6198 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.7187, allocations: 16 kB / 0.6198 GB, free: 15.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.719, allocations: 382.8 kB / 0.6201 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.7192, allocations: 157.5 kB / 0.6203 GB, free: 15.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.7198, allocations: 0.7126 MB / 0.621 GB, free: 14.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.7203, allocations: 319.6 kB / 0.6213 GB, free: 13.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.419e-05/0.7203, allocations: 8 kB / 0.6213 GB, free: 13.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001394/0.7217, allocations: 0.8334 MB / 0.6221 GB, free: 13.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.7218, allocations: 16 kB / 0.6221 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.7218, allocations: 20 kB / 0.6222 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.22e-05/0.7219, allocations: 28 kB / 0.6222 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.7225, allocations: 187.6 kB / 0.6224 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.1e-05/0.7225, allocations: 35.86 kB / 0.6224 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/0.7233, allocations: 127 kB / 0.6225 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.7234, allocations: 63.83 kB / 0.6226 GB, free: 12.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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 0.000224/0.7236, allocations: 171.5 kB / 0.6227 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.7237, allocations: 63.23 kB / 0.6228 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.7239, allocations: 61.45 kB / 0.6229 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.7239, allocations: 4 kB / 0.6229 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.7239, allocations: 0 / 0.6229 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7239, allocations: 0 / 0.6229 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.7251, allocations: 0.5636 MB / 0.6234 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7251, allocations: 0 / 0.6234 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.7252, allocations: 15.98 kB / 0.6234 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.7252, allocations: 0 / 0.6234 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.7253, allocations: 0 / 0.6234 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.7253, allocations: 0 / 0.6234 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7253, allocations: 0 / 0.6234 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.7256, allocations: 250.6 kB / 0.6237 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.7259, allocations: 140.3 kB / 0.6238 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.726, allocations: 0 / 0.6238 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.7262, allocations: 11.98 kB / 0.6238 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.7263, allocations: 7.984 kB / 0.6238 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.7263, allocations: 0 / 0.6238 GB, free: 11.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007997/0.7271, allocations: 0.5381 MB / 0.6243 GB, free: 10.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7272, allocations: 0 / 0.6243 GB, free: 10.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007731/0.7279, allocations: 163.4 kB / 0.6245 GB, free: 10.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007992/0.7287, allocations: 0.7832 MB / 0.6253 GB, free: 9.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.7294, allocations: 395.7 kB / 0.6256 GB, free: 9.387 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7294, allocations: 0 / 0.6256 GB, free: 9.387 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.7295, allocations: 27.97 kB / 0.6257 GB, free: 9.359 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.7301, allocations: 91.94 kB / 0.6258 GB, free: 9.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.7327, allocations: 1.03 MB / 0.6268 GB, free: 8.195 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/0.7335, allocations: 1.038 MB / 0.6278 GB, free: 7.129 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005783/0.7341, allocations: 216.9 kB / 0.628 GB, free: 6.918 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.7345, allocations: 255.3 kB / 0.6282 GB, free: 6.664 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/0.7345, allocations: 0 / 0.6282 GB, free: 6.664 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.7641, allocations: 11.09 MB / 0.6391 GB, free: 11.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.7643, allocations: 146.2 kB / 0.6392 GB, free: 11.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.15, allocations: 0 / 0.6392 GB, free: 11.48 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat