Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",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.001112/0.001112, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.779/1.779, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008962/0.0008963, allocations: 100.9 kB / 267.1 MB, free: 9.273 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.4132/0.4132, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.028e-05, allocations: 7.984 kB / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1506, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.6198, allocations: 108.2 MB / 0.5786 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.6201, allocations: 75.95 kB / 0.5786 GB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5998/1.22, allocations: 99.27 MB / 0.6756 GB, free: 87.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.671e-06/1.22, allocations: 3.469 kB / 0.6756 GB, free: 87.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005053/1.22, allocations: 89.56 kB / 0.6757 GB, free: 87.55 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02513/1.246, allocations: 5.129 MB / 0.6807 GB, free: 85.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001181/1.246, allocations: 9.469 kB / 0.6807 GB, free: 85.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004888/1.251, allocations: 0.843 MB / 0.6815 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/1.271, allocations: 4.613 MB / 0.686 GB, free: 85.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.288, allocations: 6.078 MB / 0.692 GB, free: 84.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006045/1.288, allocations: 346.8 kB / 0.6923 GB, free: 84.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003433/1.292, allocations: 466.6 kB / 0.6927 GB, free: 84.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/1.328, allocations: 12.6 MB / 0.705 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006033/1.328, allocations: 72.78 kB / 0.7051 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004219/1.333, allocations: 224.9 kB / 0.7053 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004093/1.337, allocations: 1.27 MB / 0.7066 GB, free: 81.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03073/1.368, allocations: 10.74 MB / 0.7171 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07032/1.438, allocations: 55.85 MB / 0.7716 GB, free: 41.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01442/1.452, allocations: 5.938 MB / 0.7774 GB, free: 39.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004026/1.457, allocations: 3.024 MB / 0.7803 GB, free: 37.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02051/1.477, allocations: 13.06 MB / 0.7931 GB, free: 30.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.477, allocations: 50 kB / 0.7931 GB, free: 30.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 5.68e-06/1.477, allocations: 0 / 0.7931 GB, free: 30.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.08812/1.565, allocations: 30.58 MB / 0.823 GB, free: 11.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/1.565, allocations: 205.9 kB / 0.8232 GB, free: 11.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005779/1.571, allocations: 3.844 MB / 0.827 GB, free: 7.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000652/1.572, allocations: 65.7 kB / 0.827 GB, free: 7.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002015/1.574, allocations: 3.44 MB / 0.8304 GB, free: 4.766 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.575, allocations: 0.9492 MB / 0.8313 GB, free: 3.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/1.575, allocations: 136 kB / 0.8314 GB, free: 3.797 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/1.576, allocations: 0.5911 MB / 0.832 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/1.58, allocations: 2.991 MB / 0.8349 GB, free: 0.582 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01716/1.597, allocations: 7.548 MB / 0.8423 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007683/1.604, allocations: 4.493 MB / 0.8467 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.194e-05/1.605, allocations: 40 kB / 0.8467 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.03047/1.635, allocations: 12.41 MB / 0.8588 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/1.635, allocations: 64 kB / 0.8589 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002671/1.636, allocations: 136 kB / 0.859 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009787/1.645, allocations: 3.209 MB / 0.8622 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006982/1.652, allocations: 1.56 MB / 0.8637 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3733/2.026, allocations: 14.93 MB / 0.8783 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0074/2.033, allocations: 473.6 kB / 0.8787 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/2.035, allocations: 408.6 kB / 0.8791 GB, free: 103.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 805 * Array equations: 3 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001244/2.036, allocations: 0.6156 MB / 0.8797 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/2.037, allocations: 409.4 kB / 0.8801 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/2.052, allocations: 7.364 MB / 0.8873 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.39e-05/2.052, allocations: 30.47 kB / 0.8873 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.402e-05/2.052, allocations: 9.375 kB / 0.8873 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.79e-05/2.052, allocations: 15 kB / 0.8874 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/2.081, allocations: 14.99 MB / 0.902 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.662e-05/2.081, allocations: 0.5625 kB / 0.902 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/2.084, allocations: 381.2 kB / 0.9024 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009607/2.093, allocations: 2.869 MB / 0.9052 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/2.094, allocations: 44.77 kB / 0.9052 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/2.113, allocations: 13.24 MB / 0.9181 GB, free: 95.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.113, allocations: 0 / 0.9181 GB, free: 95.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/2.131, allocations: 11.33 MB / 0.9292 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002753/2.134, allocations: 0.9101 MB / 0.9301 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00103/2.135, allocations: 45.53 kB / 0.9301 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/2.137, allocations: 205.3 kB / 0.9303 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005354/2.137, allocations: 151.3 kB / 0.9305 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/2.138, allocations: 61.06 kB / 0.9305 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004248/2.142, allocations: 2.679 MB / 0.9331 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/2.142, allocations: 0 / 0.9331 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007554/2.15, allocations: 1.313 MB / 0.9344 GB, free: 89.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01866/2.168, allocations: 12.15 MB / 0.9463 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01294/2.181, allocations: 7.658 MB / 0.9538 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/2.181, allocations: 0 / 0.9538 GB, free: 82.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/2.186, allocations: 3.041 MB / 0.9567 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/2.189, allocations: 469.9 kB / 0.9572 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/2.218, allocations: 11.38 MB / 0.9683 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/2.223, allocations: 3.773 MB / 0.972 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005946/2.229, allocations: 2.183 MB / 0.9741 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00404/2.233, allocations: 2.219 MB / 0.9763 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.323e-06/2.233, allocations: 0 / 0.9763 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4642/2.698, allocations: 101.5 MB / 1.075 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/2.698, allocations: 170.5 kB / 1.076 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.085/7.783, allocations: 0 / 1.076 GB, free: 106.7 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat