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.001191/0.001191, allocations: 175.3 kB / 17.06 MB, free: 5.094 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.493/1.493, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000992/0.0009916, allocations: 100.6 kB / 292.1 MB, free: 10.91 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.3727/0.3727, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003619, allocations: 12 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3766, allocations: 61.91 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.5267, allocations: 103.4 MB / 0.6106 GB, free: 7.578 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/0.5271, allocations: 83.92 kB / 0.6107 GB, free: 7.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.555/1.082, allocations: 84.88 MB / 0.6936 GB, free: 99.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.226e-06/1.082, allocations: 0 / 0.6936 GB, free: 99.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002178/1.082, allocations: 64.56 kB / 0.6936 GB, free: 99.19 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.01197/1.094, allocations: 3.585 MB / 0.6971 GB, free: 97.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.095, allocations: 8.719 kB / 0.6972 GB, free: 97.48 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003961/1.099, allocations: 0.7621 MB / 0.6979 GB, free: 97.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/1.114, allocations: 3.484 MB / 0.7013 GB, free: 97.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/1.128, allocations: 4.053 MB / 0.7053 GB, free: 96.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004267/1.128, allocations: 292.9 kB / 0.7055 GB, free: 96.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002863/1.131, allocations: 383.4 kB / 0.7059 GB, free: 96.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0286/1.159, allocations: 9.761 MB / 0.7154 GB, free: 95.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003457/1.16, allocations: 27.66 kB / 0.7155 GB, free: 95.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002445/1.162, allocations: 174.1 kB / 0.7156 GB, free: 95.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002184/1.165, allocations: 1.126 MB / 0.7167 GB, free: 95.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/1.186, allocations: 9.341 MB / 0.7259 GB, free: 92.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04632/1.232, allocations: 31.7 MB / 0.7568 GB, free: 72.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005235/1.237, allocations: 3.337 MB / 0.7601 GB, free: 70.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009125/1.238, allocations: 1.311 MB / 0.7613 GB, free: 69.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.238, allocations: 43.25 kB / 0.7614 GB, free: 69.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=185): time 5.741e-06/1.238, allocations: 0 / 0.7614 GB, free: 69.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.01935/1.258, allocations: 9.601 MB / 0.7708 GB, free: 65.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.258, allocations: 67.88 kB / 0.7708 GB, free: 65.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/1.262, allocations: 2.325 MB / 0.7731 GB, free: 64.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/1.262, allocations: 45.7 kB / 0.7731 GB, free: 64.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/1.263, allocations: 2.668 MB / 0.7757 GB, free: 61.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/1.264, allocations: 0.7017 MB / 0.7764 GB, free: 61.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/1.264, allocations: 92 kB / 0.7765 GB, free: 61.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003319/1.265, allocations: 0.5139 MB / 0.777 GB, free: 60.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/1.267, allocations: 1.523 MB / 0.7785 GB, free: 59.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/1.27, allocations: 4.337 MB / 0.7827 GB, free: 53.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/1.273, allocations: 2.598 MB / 0.7853 GB, free: 51.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-05/1.273, allocations: 28 kB / 0.7853 GB, free: 51.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.008641/1.282, allocations: 5.791 MB / 0.791 GB, free: 46.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.282, allocations: 48 kB / 0.791 GB, free: 46.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001834/1.282, allocations: 100 kB / 0.7911 GB, free: 46.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004394/1.283, allocations: 189.1 kB / 0.7913 GB, free: 46.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.286, allocations: 1.071 MB / 0.7923 GB, free: 45.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.287, allocations: 1.685 MB / 0.794 GB, free: 43.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003234/1.29, allocations: 210.4 kB / 0.7942 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006515/1.291, allocations: 291.3 kB / 0.7945 GB, free: 42.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 584 * 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.003471/1.294, allocations: 2.001 MB / 0.7964 GB, free: 41.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.295, allocations: 252.7 kB / 0.7966 GB, free: 40.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/1.298, allocations: 2.515 MB / 0.7991 GB, free: 38.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/1.299, allocations: 20 kB / 0.7991 GB, free: 38.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.299, allocations: 3.953 kB / 0.7991 GB, free: 38.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.299, allocations: 7.781 kB / 0.7991 GB, free: 38.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/1.312, allocations: 7.977 MB / 0.8069 GB, free: 31.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/1.312, allocations: 12.19 kB / 0.8069 GB, free: 31.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/1.313, allocations: 255.5 kB / 0.8072 GB, free: 31.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/1.313, allocations: 60.39 kB / 0.8072 GB, free: 31.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.314, allocations: 51.75 kB / 0.8073 GB, free: 31.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.315, allocations: 1.51 MB / 0.8088 GB, free: 30 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.315, allocations: 15.94 kB / 0.8088 GB, free: 29.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/1.319, allocations: 4.824 MB / 0.8135 GB, free: 25.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008981/1.32, allocations: 297.7 kB / 0.8138 GB, free: 24.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005796/1.321, allocations: 43.12 kB / 0.8138 GB, free: 24.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.322, allocations: 57.17 kB / 0.8139 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/1.322, allocations: 123.1 kB / 0.814 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.323, allocations: 63.89 kB / 0.814 GB, free: 24.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002854/1.325, allocations: 1.583 MB / 0.8156 GB, free: 23.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.325, allocations: 0 / 0.8156 GB, free: 23.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004691/1.33, allocations: 0.8085 MB / 0.8164 GB, free: 22.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * 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.006073/1.336, allocations: 8.08 MB / 0.8243 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005483/1.342, allocations: 3.811 MB / 0.828 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.342, allocations: 4 kB / 0.828 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.343, allocations: 1.229 MB / 0.8292 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.345, allocations: 321.6 kB / 0.8295 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3565/1.702, allocations: 93.11 MB / 0.9204 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00468/1.707, allocations: 3.214 MB / 0.9236 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004212/1.711, allocations: 1.715 MB / 0.9252 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.713, allocations: 1.692 MB / 0.9269 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.894e-06/1.713, allocations: 0 / 0.9269 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.822, allocations: 55.66 MB / 0.9813 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.823, allocations: 188.4 kB / 0.9814 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/5.589, allocations: 0 / 0.9814 GB, free: 93.55 MB / 0.5261 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