Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",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.001099/0.001098, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.516/1.516, allocations: 221.4 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 92.03 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.695e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.6386, allocations: 110.1 MB / 0.6094 GB, free: 11.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.639, allocations: 75.97 kB / 0.6094 GB, free: 10.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2645/0.9035, allocations: 100.5 MB / 0.7075 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9035, allocations: 0 / 0.7075 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001899/0.9037, allocations: 88 kB / 0.7076 GB, free: 5.773 MB / 0.5105 GB 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.01708/0.9208, allocations: 5.113 MB / 0.7126 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.9209, allocations: 8.031 kB / 0.7126 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3673/1.288, allocations: 0.8486 MB / 0.7134 GB, free: 119 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02216/1.31, allocations: 4.612 MB / 0.7179 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02142/1.332, allocations: 5.768 MB / 0.7236 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006236/1.333, allocations: 355.4 kB / 0.7239 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003443/1.336, allocations: 463.6 kB / 0.7244 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03627/1.372, allocations: 12.6 MB / 0.7367 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005649/1.373, allocations: 75.41 kB / 0.7367 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00276/1.376, allocations: 222.1 kB / 0.737 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/1.378, allocations: 1.261 MB / 0.7382 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/1.401, allocations: 10.74 MB / 0.7487 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06306/1.464, allocations: 55.8 MB / 0.8032 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/1.478, allocations: 5.937 MB / 0.809 GB, free: 73.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/1.482, allocations: 3.019 MB / 0.8119 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/1.499, allocations: 13.03 MB / 0.8246 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/1.499, allocations: 55.83 kB / 0.8247 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 4.829e-06/1.499, allocations: 0 / 0.8247 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.08142/1.58, allocations: 30.46 MB / 0.8544 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/1.58, allocations: 213.9 kB / 0.8546 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/1.585, allocations: 3.812 MB / 0.8584 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005178/1.586, allocations: 69.7 kB / 0.8584 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.588, allocations: 3.434 MB / 0.8618 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009587/1.589, allocations: 0.9451 MB / 0.8627 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/1.589, allocations: 139.8 kB / 0.8628 GB, free: 33.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002582/1.589, allocations: 0.5972 MB / 0.8634 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/1.593, allocations: 2.994 MB / 0.8663 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004894/1.598, allocations: 6.899 MB / 0.8731 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005454/1.603, allocations: 4.487 MB / 0.8775 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.535e-05/1.603, allocations: 47.94 kB / 0.8775 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.0228/1.626, allocations: 12.4 MB / 0.8896 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.215e-05/1.626, allocations: 64 kB / 0.8897 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.626, allocations: 136 kB / 0.8898 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008528/1.635, allocations: 3.209 MB / 0.8929 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005786/1.641, allocations: 1.556 MB / 0.8945 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/1.665, allocations: 14.93 MB / 0.909 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4266/2.091, allocations: 468.9 kB / 0.9095 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001887/2.093, allocations: 407 kB / 0.9099 GB, free: 119.3 MB / 0.5261 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.001537/2.095, allocations: 0.6156 MB / 0.9105 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/2.096, allocations: 405.9 kB / 0.9109 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/2.115, allocations: 7.368 MB / 0.9181 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.752e-05/2.115, allocations: 29.81 kB / 0.9181 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.91e-05/2.115, allocations: 9.656 kB / 0.9181 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.333e-05/2.115, allocations: 12.34 kB / 0.9181 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0354/2.15, allocations: 14.98 MB / 0.9327 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/2.15, allocations: 1.094 kB / 0.9327 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/2.153, allocations: 383.6 kB / 0.9331 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008128/2.161, allocations: 2.869 MB / 0.9359 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005368/2.161, allocations: 44.45 kB / 0.9359 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/2.179, allocations: 13.23 MB / 0.9489 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.179, allocations: 5.656 kB / 0.9489 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/2.197, allocations: 11.33 MB / 0.9599 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/2.199, allocations: 446.9 kB / 0.9604 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/2.2, allocations: 48.67 kB / 0.9604 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00255/2.203, allocations: 198.8 kB / 0.9606 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006664/2.203, allocations: 153.9 kB / 0.9607 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/2.203, allocations: 63.14 kB / 0.9608 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0051/2.209, allocations: 2.654 MB / 0.9634 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.9e-07/2.209, allocations: 3.938 kB / 0.9634 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008996/2.218, allocations: 1.321 MB / 0.9647 GB, free: 109.5 MB / 0.5261 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.01956/2.237, allocations: 12.14 MB / 0.9765 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01373/2.251, allocations: 7.664 MB / 0.984 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/2.251, allocations: 3.312 kB / 0.984 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/2.256, allocations: 3.03 MB / 0.987 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/2.26, allocations: 467 kB / 0.9874 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/2.29, allocations: 11.36 MB / 0.9985 GB, free: 95.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/2.294, allocations: 3.764 MB / 1.002 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006057/2.3, allocations: 2.176 MB / 1.004 GB, free: 91.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004014/2.304, allocations: 2.218 MB / 1.007 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/2.304, allocations: 0 / 1.007 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1452/2.449, allocations: 101.3 MB / 1.105 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/2.45, allocations: 164.2 kB / 1.106 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.281/7.731, allocations: 0 / 1.106 GB, free: 11.53 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat