Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005038/0.00504, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 86.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2821/0.2821, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.555e-05/4.565e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5806/0.7091, allocations: 101.8 MB / 0.5723 GB, free: 1.973 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.7094, allocations: 78.98 kB / 0.5724 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4131/1.123, allocations: 85.55 MB / 0.656 GB, free: 4.129 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.123, allocations: 4 kB / 0.656 GB, free: 4.125 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002212/1.123, allocations: 72 kB / 0.656 GB, free: 4.055 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01347/1.136, allocations: 3.538 MB / 0.6595 GB, free: 464 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.136, allocations: 12.03 kB / 0.6595 GB, free: 452 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00364/1.14, allocations: 0.7792 MB / 0.6603 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02789/1.168, allocations: 3.508 MB / 0.6637 GB, free: 12.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/1.186, allocations: 4.198 MB / 0.6678 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005442/1.187, allocations: 303.7 kB / 0.6681 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/1.19, allocations: 383.9 kB / 0.6684 GB, free: 7.215 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03581/1.226, allocations: 9.878 MB / 0.6781 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/1.226, allocations: 27.8 kB / 0.6781 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002542/1.229, allocations: 175.9 kB / 0.6783 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/1.232, allocations: 1.168 MB / 0.6794 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03122/1.263, allocations: 9.281 MB / 0.6885 GB, free: 2.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4326/1.696, allocations: 32.54 MB / 0.7203 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009601/1.706, allocations: 3.329 MB / 0.7235 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002771/1.708, allocations: 1.064 MB / 0.7246 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/1.71, allocations: 1.311 MB / 0.7258 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/1.71, allocations: 51.09 kB / 0.7259 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=187): time 5.671e-06/1.71, allocations: 0 / 0.7259 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.03334/1.744, allocations: 8.703 MB / 0.7344 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.744, allocations: 93.64 kB / 0.7345 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/1.749, allocations: 2.345 MB / 0.7368 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003768/1.749, allocations: 53.06 kB / 0.7368 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.752, allocations: 2.741 MB / 0.7395 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.753, allocations: 0.7069 MB / 0.7402 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004991/1.753, allocations: 101.5 kB / 0.7403 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003329/1.754, allocations: 0.5217 MB / 0.7408 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003612/1.757, allocations: 1.509 MB / 0.7423 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006039/1.763, allocations: 4.399 MB / 0.7466 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005989/1.77, allocations: 2.63 MB / 0.7491 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.77, allocations: 27.41 kB / 0.7491 GB, free: 99.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=656) (initialization): time 0.0156/1.785, allocations: 5.757 MB / 0.7548 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/1.785, allocations: 51.09 kB / 0.7548 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/1.786, allocations: 108.8 kB / 0.7549 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000482/1.786, allocations: 189.6 kB / 0.7551 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006439/1.793, allocations: 1.1 MB / 0.7562 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/1.795, allocations: 1.672 MB / 0.7578 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/1.8, allocations: 213.8 kB / 0.758 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008536/1.801, allocations: 296.2 kB / 0.7583 GB, free: 97.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 597 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009823/1.802, allocations: 488.3 kB / 0.7588 GB, free: 97.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/1.802, allocations: 249.2 kB / 0.759 GB, free: 97.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005351/1.808, allocations: 2.508 MB / 0.7614 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-05/1.808, allocations: 24.33 kB / 0.7615 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.808, allocations: 0 / 0.7615 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/1.808, allocations: 8.719 kB / 0.7615 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.827, allocations: 8.156 MB / 0.7694 GB, free: 94.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.827, allocations: 12.12 kB / 0.7695 GB, free: 94.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.829, allocations: 257 kB / 0.7697 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/1.829, allocations: 64.98 kB / 0.7698 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/1.83, allocations: 38.62 kB / 0.7698 GB, free: 94.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/1.831, allocations: 1.498 MB / 0.7713 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/1.831, allocations: 22.28 kB / 0.7713 GB, free: 93.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008234/1.839, allocations: 4.875 MB / 0.776 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.841, allocations: 0.5085 MB / 0.7765 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004438/1.842, allocations: 39.72 kB / 0.7766 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.843, allocations: 57.39 kB / 0.7766 GB, free: 89.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/1.843, allocations: 124.5 kB / 0.7768 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.844, allocations: 63.89 kB / 0.7768 GB, free: 89.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003323/1.847, allocations: 1.594 MB / 0.7784 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.01e-07/1.847, allocations: 0 / 0.7784 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005398/1.852, allocations: 0.8249 MB / 0.7792 GB, free: 89.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008224/1.861, allocations: 8.234 MB / 0.7872 GB, free: 83.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00807/1.869, allocations: 3.813 MB / 0.7909 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/1.869, allocations: 4.062 kB / 0.7909 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/1.871, allocations: 1.22 MB / 0.7921 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.873, allocations: 308.2 kB / 0.7924 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/1.899, allocations: 8.936 MB / 0.8012 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004715/1.904, allocations: 3.298 MB / 0.8044 GB, free: 73.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003265/1.907, allocations: 1.802 MB / 0.8061 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of SimCode: time 1.302e-06/1.907, allocations: 0 / 0.8061 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.086/5.992, allocations: 87.06 MB / 0.8912 GB, free: 10.23 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat