Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001554/0.001554, allocations: 180.3 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001733/0.001733, allocations: 92.77 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3211/0.3211, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.282e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4262, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.6278, allocations: 107.6 MB / 0.571 GB, free: 7.59 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.6281, allocations: 71.97 kB / 0.5711 GB, free: 7.52 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7916/1.42, allocations: 97.37 MB / 0.6662 GB, free: 109.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.275e-06/1.42, allocations: 0 / 0.6662 GB, free: 109.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.000348/1.42, allocations: 87 kB / 0.6663 GB, free: 109.3 MB / 475.1 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.02235/1.442, allocations: 5.13 MB / 0.6713 GB, free: 107.3 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.443, allocations: 10.59 kB / 0.6713 GB, free: 107.3 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0341/1.477, allocations: 4.614 MB / 0.6758 GB, free: 107 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/1.499, allocations: 6.067 MB / 0.6817 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/1.5, allocations: 148.6 kB / 0.6819 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002581/1.502, allocations: 272.8 kB / 0.6821 GB, free: 106.3 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01763/1.52, allocations: 7.422 MB / 0.6894 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/1.546, allocations: 10.86 MB / 0.7 GB, free: 98.28 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002713/1.546, allocations: 72.62 kB / 0.7 GB, free: 98.23 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/1.548, allocations: 38.06 kB / 0.7001 GB, free: 98.23 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/1.551, allocations: 1.264 MB / 0.7013 GB, free: 98 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08127/1.632, allocations: 54.33 MB / 0.7544 GB, free: 49.25 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/1.639, allocations: 4.381 MB / 0.7587 GB, free: 44.73 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00505/1.645, allocations: 2.943 MB / 0.7615 GB, free: 41.78 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02666/1.671, allocations: 12.17 MB / 0.7734 GB, free: 29.36 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/1.671, allocations: 59.81 kB / 0.7735 GB, free: 29.29 MB / 475.1 MB Notification: Performance of pre-optimization done (n=193): time 6.512e-06/1.671, allocations: 4 kB / 0.7735 GB, free: 29.29 MB / 475.1 MB Notification: Performance of matching and sorting (n=254): time 0.1043/1.776, allocations: 28.82 MB / 0.8016 GB, free: 380 kB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/1.776, allocations: 213.9 kB / 0.8018 GB, free: 120 kB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007596/1.784, allocations: 3.325 MB / 0.8051 GB, free: 12.77 MB / 491.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008129/1.784, allocations: 25.7 kB / 0.8051 GB, free: 12.74 MB / 491.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003799/1.788, allocations: 3.442 MB / 0.8085 GB, free: 9.25 MB / 491.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00189/1.79, allocations: 0.9173 MB / 0.8094 GB, free: 8.32 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007824/1.791, allocations: 0 / 0.8094 GB, free: 8.32 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.0006076/1.792, allocations: 0.6121 MB / 0.81 GB, free: 7.699 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007676/1.799, allocations: 2.907 MB / 0.8128 GB, free: 4.789 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0125/1.812, allocations: 6.957 MB / 0.8196 GB, free: 11.8 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.823, allocations: 4.408 MB / 0.8239 GB, free: 7.395 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/1.823, allocations: 44.28 kB / 0.8239 GB, free: 7.352 MB / 0.4952 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.4028/2.226, allocations: 11.53 MB / 0.8352 GB, free: 121.4 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/2.226, allocations: 68.81 kB / 0.8353 GB, free: 121.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003487/2.226, allocations: 147.2 kB / 0.8354 GB, free: 121.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01818/2.245, allocations: 3.167 MB / 0.8385 GB, free: 121.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01138/2.256, allocations: 1.615 MB / 0.8401 GB, free: 121.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03676/2.293, allocations: 13.83 MB / 0.8536 GB, free: 120 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009055/2.302, allocations: 343.4 kB / 0.8539 GB, free: 120 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001996/2.304, allocations: 420.3 kB / 0.8543 GB, free: 120 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * 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 (839): * Single equations (assignments): 835 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002694/2.307, allocations: 472.8 kB / 0.8548 GB, free: 119.9 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02498/2.332, allocations: 7.216 MB / 0.8618 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/2.333, allocations: 388.2 kB / 0.8622 GB, free: 118.4 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02483/2.358, allocations: 7.149 MB / 0.8692 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.549e-05/2.358, allocations: 29.66 kB / 0.8692 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/2.359, allocations: 12.28 kB / 0.8692 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.699e-05/2.359, allocations: 9.094 kB / 0.8692 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0438/2.402, allocations: 13.92 MB / 0.8828 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/2.402, allocations: 0 / 0.8828 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/2.406, allocations: 380.5 kB / 0.8832 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/2.421, allocations: 2.852 MB / 0.886 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006653/2.422, allocations: 7.172 kB / 0.886 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02849/2.451, allocations: 12.34 MB / 0.898 GB, free: 105.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.451, allocations: 3.469 kB / 0.898 GB, free: 105.6 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03079/2.481, allocations: 11.09 MB / 0.9088 GB, free: 101.3 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003504/2.485, allocations: 0.8689 MB / 0.9097 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/2.486, allocations: 3.953 kB / 0.9097 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/2.49, allocations: 170 kB / 0.9099 GB, free: 100.4 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009734/2.491, allocations: 151.5 kB / 0.91 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/2.492, allocations: 62.22 kB / 0.9101 GB, free: 100.2 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.005445/2.497, allocations: 2.214 MB / 0.9122 GB, free: 98.29 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.42e-07/2.497, allocations: 0 / 0.9122 GB, free: 98.29 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.009043/2.506, allocations: 1.136 MB / 0.9133 GB, free: 97.16 MB / 0.4952 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.03184/2.538, allocations: 11.9 MB / 0.925 GB, free: 87.12 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01856/2.557, allocations: 7.449 MB / 0.9322 GB, free: 80.38 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.557, allocations: 3.406 kB / 0.9322 GB, free: 80.38 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.007348/2.564, allocations: 2.96 MB / 0.9351 GB, free: 77.41 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/2.568, allocations: 379.5 kB / 0.9355 GB, free: 77.06 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/2.604, allocations: 11.62 MB / 0.9468 GB, free: 65.53 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007662/2.612, allocations: 3.782 MB / 0.9505 GB, free: 61.74 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006051/2.618, allocations: 2.249 MB / 0.9527 GB, free: 59.49 MB / 0.4952 GB Notification: Performance of SimCode: time 2.063e-06/2.618, allocations: 0 / 0.9527 GB, free: 59.49 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.887/7.505, allocations: 114.7 MB / 1.065 GB, free: 128.8 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat