Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_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.0009226/0.0009226, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 90.62 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5895, allocations: 101.2 MB / 0.5648 GB, free: 10.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5898, allocations: 76.25 kB / 0.5649 GB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2181/0.808, allocations: 84.02 MB / 0.6469 GB, free: 14.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.808, allocations: 4 kB / 0.647 GB, free: 14.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001948/0.8082, allocations: 72 kB / 0.647 GB, free: 14.24 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.01362/0.8219, allocations: 3.523 MB / 0.6505 GB, free: 10.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.8219, allocations: 11.97 kB / 0.6505 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.8375, allocations: 3.504 MB / 0.6539 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.8505, allocations: 4.206 MB / 0.658 GB, free: 2.875 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.8508, allocations: 124 kB / 0.6581 GB, free: 2.754 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002573/0.8534, allocations: 224 kB / 0.6583 GB, free: 2.535 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01402/0.8674, allocations: 7.033 MB / 0.6652 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.8875, allocations: 9.221 MB / 0.6742 GB, free: 1.828 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.8877, allocations: 27.81 kB / 0.6742 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007053/0.8884, allocations: 12 kB / 0.6742 GB, free: 1.789 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/0.8901, allocations: 1.176 MB / 0.6754 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04537/0.9355, allocations: 29.81 MB / 0.7045 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3201/1.256, allocations: 2.947 MB / 0.7074 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002291/1.258, allocations: 1.035 MB / 0.7084 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/1.259, allocations: 1.309 MB / 0.7097 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/1.259, allocations: 50.69 kB / 0.7097 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=189): time 4.859e-06/1.259, allocations: 1.312 kB / 0.7097 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.01647/1.276, allocations: 7.969 MB / 0.7175 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.276, allocations: 92.86 kB / 0.7176 GB, free: 129 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/1.28, allocations: 2.259 MB / 0.7198 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/1.28, allocations: 27.05 kB / 0.7198 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/1.282, allocations: 2.838 MB / 0.7226 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006803/1.282, allocations: 0.7023 MB / 0.7233 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/1.283, allocations: 1.438 kB / 0.7233 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004203/1.283, allocations: 0.5939 MB / 0.7239 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/1.285, allocations: 1.487 MB / 0.7253 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/1.29, allocations: 4.628 MB / 0.7298 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/1.293, allocations: 2.683 MB / 0.7325 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.274e-05/1.293, allocations: 33.97 kB / 0.7325 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.008076/1.301, allocations: 5.5 MB / 0.7379 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/1.302, allocations: 53.22 kB / 0.7379 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/1.302, allocations: 116 kB / 0.738 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/1.302, allocations: 203.9 kB / 0.7382 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/1.305, allocations: 1.18 MB / 0.7394 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/1.306, allocations: 1.633 MB / 0.741 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/1.309, allocations: 130.1 kB / 0.7411 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003977/1.31, allocations: 322.7 kB / 0.7414 GB, free: 120.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (651): * Single equations (assignments): 644 * 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.0005633/1.31, allocations: 387.7 kB / 0.7418 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002827/1.313, allocations: 2.123 MB / 0.7438 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/1.314, allocations: 256.9 kB / 0.7441 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/1.317, allocations: 2.419 MB / 0.7464 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/1.317, allocations: 22.36 kB / 0.7465 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.317, allocations: 3.844 kB / 0.7465 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.317, allocations: 7.641 kB / 0.7465 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.327, allocations: 6.913 MB / 0.7532 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.327, allocations: 10.97 kB / 0.7532 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/1.328, allocations: 261.2 kB / 0.7535 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/1.328, allocations: 60.34 kB / 0.7535 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.749e-05/1.328, allocations: 23.09 kB / 0.7536 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008949/1.329, allocations: 1.433 MB / 0.755 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/1.329, allocations: 18.77 kB / 0.755 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/1.334, allocations: 4.856 MB / 0.7597 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.335, allocations: 0.5064 MB / 0.7602 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.335, allocations: 15.5 kB / 0.7602 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/1.336, allocations: 44.56 kB / 0.7603 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.336, allocations: 122.4 kB / 0.7604 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.337, allocations: 68.55 kB / 0.7605 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002521/1.339, allocations: 1.478 MB / 0.7619 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/1.339, allocations: 0 / 0.7619 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005322/1.344, allocations: 0.7251 MB / 0.7626 GB, free: 113.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * 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.005575/1.35, allocations: 8.317 MB / 0.7707 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005714/1.356, allocations: 3.721 MB / 0.7744 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.356, allocations: 0 / 0.7744 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.357, allocations: 1.194 MB / 0.7755 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.359, allocations: 209.8 kB / 0.7757 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.378, allocations: 8.355 MB / 0.7839 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/1.381, allocations: 3.278 MB / 0.7871 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003946/1.385, allocations: 1.85 MB / 0.7889 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/1.388, allocations: 1.766 MB / 0.7906 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.393e-06/1.388, allocations: 0 / 0.7906 GB, free: 97.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09744/1.485, allocations: 54.58 MB / 0.8439 GB, free: 52.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/1.485, allocations: 128.8 kB / 0.844 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.486/4.971, allocations: 4 kB / 0.8441 GB, free: 52.05 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat