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.001632/0.001632, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000872/0.0008719, allocations: 102.8 kB / 270.2 MB, free: 13.37 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.2015/0.2015, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003249, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5168, allocations: 101.9 MB / 0.5784 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.5171, allocations: 80.14 kB / 0.5785 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2321/0.7492, allocations: 85.48 MB / 0.6619 GB, free: 256 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7493, allocations: 4 kB / 0.6619 GB, free: 252 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002258/0.7495, allocations: 72 kB / 0.662 GB, free: 180 kB / 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.01235/0.7619, allocations: 3.678 MB / 0.6656 GB, free: 12.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.7619, allocations: 12.03 kB / 0.6656 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004428/0.7664, allocations: 0.7714 MB / 0.6664 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.7826, allocations: 3.508 MB / 0.6698 GB, free: 8.117 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.7955, allocations: 4.221 MB / 0.6739 GB, free: 3.848 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.796, allocations: 303.7 kB / 0.6742 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.7986, allocations: 391.7 kB / 0.6746 GB, free: 3.168 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/0.8254, allocations: 9.963 MB / 0.6843 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002716/0.8257, allocations: 23.81 kB / 0.6843 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/0.8282, allocations: 179.9 kB / 0.6845 GB, free: 8.559 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002221/0.8305, allocations: 1.168 MB / 0.6856 GB, free: 7.391 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02062/0.8511, allocations: 9.436 MB / 0.6949 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3315/1.183, allocations: 32.53 MB / 0.7266 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006512/1.189, allocations: 3.36 MB / 0.7299 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.191, allocations: 1.305 MB / 0.7312 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.191, allocations: 49.53 kB / 0.7312 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=187): time 5.861e-06/1.191, allocations: 2.656 kB / 0.7312 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.02158/1.212, allocations: 10.3 MB / 0.7413 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/1.212, allocations: 90.02 kB / 0.7414 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/1.215, allocations: 2.368 MB / 0.7437 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002444/1.216, allocations: 50.17 kB / 0.7437 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001669/1.217, allocations: 2.747 MB / 0.7464 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008484/1.218, allocations: 0.7128 MB / 0.7471 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/1.218, allocations: 97.72 kB / 0.7472 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002603/1.219, allocations: 0.5128 MB / 0.7477 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/1.221, allocations: 1.538 MB / 0.7492 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/1.225, allocations: 4.439 MB / 0.7535 GB, free: 97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/1.228, allocations: 2.631 MB / 0.7561 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.388e-05/1.228, allocations: 27.38 kB / 0.7561 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=656) (initialization): time 0.009772/1.238, allocations: 5.889 MB / 0.7619 GB, free: 96.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/1.238, allocations: 54.09 kB / 0.7619 GB, free: 96.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/1.238, allocations: 102.1 kB / 0.762 GB, free: 96.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/1.239, allocations: 193.9 kB / 0.7622 GB, free: 96.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.242, allocations: 1.096 MB / 0.7633 GB, free: 96.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/1.243, allocations: 1.696 MB / 0.765 GB, free: 95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/1.247, allocations: 214.9 kB / 0.7652 GB, free: 95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/1.247, allocations: 304.1 kB / 0.7654 GB, free: 95 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 () * Number of clocked 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.003359/1.251, allocations: 2.03 MB / 0.7674 GB, free: 94.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/1.251, allocations: 254.7 kB / 0.7677 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/1.254, allocations: 2.522 MB / 0.7701 GB, free: 93.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/1.254, allocations: 31.09 kB / 0.7702 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/1.254, allocations: 0 / 0.7702 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.254, allocations: 6.422 kB / 0.7702 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.265, allocations: 8.183 MB / 0.7782 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.266, allocations: 10.72 kB / 0.7782 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009427/1.266, allocations: 262.2 kB / 0.7784 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/1.267, allocations: 62.59 kB / 0.7785 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/1.267, allocations: 39.06 kB / 0.7785 GB, free: 90.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009806/1.268, allocations: 1.52 MB / 0.78 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.268, allocations: 11.53 kB / 0.78 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004516/1.272, allocations: 4.915 MB / 0.7848 GB, free: 86.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.274, allocations: 0.5053 MB / 0.7853 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/1.274, allocations: 31.22 kB / 0.7853 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/1.275, allocations: 60.28 kB / 0.7854 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.275, allocations: 127.2 kB / 0.7855 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/1.275, allocations: 66.45 kB / 0.7856 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00236/1.278, allocations: 1.612 MB / 0.7872 GB, free: 85.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.278, allocations: 0 / 0.7872 GB, free: 85.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005065/1.283, allocations: 0.8272 MB / 0.788 GB, free: 85.32 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 () * Number of clocked 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.006367/1.289, allocations: 8.277 MB / 0.796 GB, free: 79.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006998/1.296, allocations: 3.854 MB / 0.7998 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/1.296, allocations: 0 / 0.7998 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.298, allocations: 1.247 MB / 0.801 GB, free: 77.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/1.3, allocations: 315 kB / 0.8013 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05736/1.357, allocations: 95.66 MB / 0.8947 GB, free: 128 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2587/1.616, allocations: 3.399 MB / 0.8981 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006001/1.622, allocations: 1.729 MB / 0.8998 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003518/1.626, allocations: 1.76 MB / 0.9015 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/1.626, allocations: 0 / 0.9015 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.734, allocations: 56.51 MB / 0.9567 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/1.734, allocations: 200.5 kB / 0.9569 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/5.764, allocations: 0 / 0.9569 GB, free: 130.2 MB / 0.5105 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