Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",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.001555/0.001555, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009947/0.0009946, allocations: 100.9 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.967e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 61.93 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.5382, allocations: 102.6 MB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.5384, allocations: 75.97 kB / 0.5951 GB, free: 9.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2609/0.7993, allocations: 83.46 MB / 0.6766 GB, free: 5.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7994, allocations: 0 / 0.6766 GB, free: 5.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000203/0.7996, allocations: 68 kB / 0.6767 GB, free: 5.453 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.0127/0.8123, allocations: 3.451 MB / 0.68 GB, free: 1.941 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.8124, allocations: 15.98 kB / 0.68 GB, free: 1.926 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/0.8281, allocations: 3.485 MB / 0.6834 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.8389, allocations: 4.022 MB / 0.6874 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.8392, allocations: 128 kB / 0.6875 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.8412, allocations: 216 kB / 0.6877 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01253/0.8538, allocations: 6.919 MB / 0.6945 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3131/1.167, allocations: 9.039 MB / 0.7033 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002931/1.167, allocations: 27.52 kB / 0.7033 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/1.169, allocations: 12.97 kB / 0.7033 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002502/1.172, allocations: 1.132 MB / 0.7044 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05597/1.228, allocations: 29.1 MB / 0.7328 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/1.232, allocations: 2.927 MB / 0.7357 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/1.234, allocations: 1.026 MB / 0.7367 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.235, allocations: 1.309 MB / 0.738 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/1.235, allocations: 49.5 kB / 0.738 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=187): time 6.182e-06/1.235, allocations: 0 / 0.738 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.01469/1.249, allocations: 7.27 MB / 0.7451 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/1.249, allocations: 66.09 kB / 0.7452 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/1.252, allocations: 2.217 MB / 0.7474 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/1.252, allocations: 28.92 kB / 0.7474 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/1.254, allocations: 2.758 MB / 0.7501 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/1.254, allocations: 0.6904 MB / 0.7507 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.254, allocations: 7.469 kB / 0.7508 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002833/1.255, allocations: 0.5823 MB / 0.7513 GB, free: 98.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/1.256, allocations: 1.473 MB / 0.7528 GB, free: 97.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/1.259, allocations: 4.513 MB / 0.7572 GB, free: 93.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/1.262, allocations: 2.641 MB / 0.7598 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.255e-05/1.262, allocations: 29.25 kB / 0.7598 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.00754/1.27, allocations: 5.397 MB / 0.765 GB, free: 90.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/1.27, allocations: 52.28 kB / 0.7651 GB, free: 90.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.27, allocations: 112 kB / 0.7652 GB, free: 90.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/1.271, allocations: 198.8 kB / 0.7654 GB, free: 90.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/1.274, allocations: 1.148 MB / 0.7665 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/1.275, allocations: 1.632 MB / 0.7681 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/1.278, allocations: 121.2 kB / 0.7682 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000757/1.279, allocations: 314.4 kB / 0.7685 GB, free: 89.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (635): * Single equations (assignments): 628 * 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.0009333/1.28, allocations: 380.8 kB / 0.7689 GB, free: 88.96 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00293/1.283, allocations: 2.103 MB / 0.7709 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/1.283, allocations: 242.5 kB / 0.7712 GB, free: 88.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/1.287, allocations: 2.421 MB / 0.7735 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/1.287, allocations: 26.27 kB / 0.7736 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.287, allocations: 0 / 0.7736 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.287, allocations: 11.48 kB / 0.7736 GB, free: 87.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/1.298, allocations: 6.744 MB / 0.7802 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/1.298, allocations: 7.375 kB / 0.7802 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/1.299, allocations: 254.5 kB / 0.7804 GB, free: 84.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/1.299, allocations: 60.45 kB / 0.7805 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.299, allocations: 29.67 kB / 0.7805 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009501/1.3, allocations: 1.426 MB / 0.7819 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/1.3, allocations: 19.44 kB / 0.7819 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004559/1.305, allocations: 4.776 MB / 0.7866 GB, free: 80.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/1.306, allocations: 303.3 kB / 0.7869 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/1.306, allocations: 12.53 kB / 0.7869 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/1.307, allocations: 36.59 kB / 0.7869 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.307, allocations: 117.7 kB / 0.787 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.307, allocations: 72.97 kB / 0.7871 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00212/1.309, allocations: 1.438 MB / 0.7885 GB, free: 79.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/1.309, allocations: 3.281 kB / 0.7885 GB, free: 79.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003984/1.313, allocations: 0.7064 MB / 0.7892 GB, free: 79.07 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.004727/1.318, allocations: 8.138 MB / 0.7971 GB, free: 71.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004889/1.323, allocations: 3.66 MB / 0.8007 GB, free: 67.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.323, allocations: 7.938 kB / 0.8007 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/1.324, allocations: 1.177 MB / 0.8019 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.326, allocations: 222.1 kB / 0.8021 GB, free: 66.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.343, allocations: 8.174 MB / 0.8101 GB, free: 59.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003198/1.346, allocations: 3.217 MB / 0.8132 GB, free: 56.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004037/1.35, allocations: 1.821 MB / 0.815 GB, free: 55.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002333/1.353, allocations: 1.704 MB / 0.8166 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/1.353, allocations: 0 / 0.8166 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1324/1.485, allocations: 53.69 MB / 0.8691 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.485, allocations: 137.2 kB / 0.8692 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/5.124, allocations: 0 / 0.8692 GB, free: 3.816 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat