Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008241/0.0008241, allocations: 96.97 kB / 286.7 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1953/0.1953, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.693e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5368, allocations: 110.4 MB / 0.6122 GB, free: 8.195 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5371, allocations: 77.77 kB / 0.6123 GB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2819/0.819, allocations: 100.9 MB / 0.7109 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.819, allocations: 0 / 0.7109 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002564/0.8193, allocations: 96 kB / 0.7109 GB, free: 11.3 MB / 0.4948 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.01573/0.8351, allocations: 5.157 MB / 0.716 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.8351, allocations: 8.031 kB / 0.716 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01948/0.8546, allocations: 4.611 MB / 0.7205 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.8682, allocations: 5.124 MB / 0.7255 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.8685, allocations: 152 kB / 0.7256 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/0.8707, allocations: 275.9 kB / 0.7259 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01306/0.8837, allocations: 7.422 MB / 0.7332 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/0.9062, allocations: 10.86 MB / 0.7438 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003338/0.9066, allocations: 67.31 kB / 0.7438 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001847/0.9084, allocations: 32 kB / 0.7439 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002014/0.9105, allocations: 1.265 MB / 0.7451 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3416/1.252, allocations: 54.28 MB / 0.7981 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/1.257, allocations: 4.38 MB / 0.8024 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002845/1.26, allocations: 2.93 MB / 0.8052 GB, free: 95.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01441/1.274, allocations: 12.15 MB / 0.8171 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/1.274, allocations: 58.11 kB / 0.8172 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=193): time 7.655e-06/1.274, allocations: 0 / 0.8172 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=254): time 0.0557/1.33, allocations: 28.74 MB / 0.8452 GB, free: 81.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.33, allocations: 207.6 kB / 0.8454 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/1.334, allocations: 3.298 MB / 0.8486 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004848/1.334, allocations: 25.7 kB / 0.8487 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.336, allocations: 3.493 MB / 0.8521 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008777/1.337, allocations: 0.9214 MB / 0.853 GB, free: 77.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/1.337, allocations: 0 / 0.853 GB, free: 77.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003386/1.338, allocations: 0.6006 MB / 0.8536 GB, free: 76.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/1.341, allocations: 2.907 MB / 0.8564 GB, free: 75.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004448/1.345, allocations: 6.95 MB / 0.8632 GB, free: 68.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005058/1.35, allocations: 4.415 MB / 0.8675 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.902e-05/1.35, allocations: 47.31 kB / 0.8675 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02023/1.371, allocations: 11.65 MB / 0.8789 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.295e-05/1.371, allocations: 68 kB / 0.879 GB, free: 58.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.371, allocations: 144 kB / 0.8791 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00813/1.379, allocations: 3.167 MB / 0.8822 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/1.384, allocations: 1.609 MB / 0.8838 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.402, allocations: 13.82 MB / 0.8973 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/1.408, allocations: 350.2 kB / 0.8976 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.409, allocations: 424 kB / 0.898 GB, free: 42.29 MB / 0.5261 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.0009402/1.41, allocations: 470.1 kB / 0.8985 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01231/1.422, allocations: 7.217 MB / 0.9055 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/1.423, allocations: 371.2 kB / 0.9059 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.436, allocations: 7.155 MB / 0.9129 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.887e-05/1.436, allocations: 30.56 kB / 0.9129 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.436, allocations: 15.95 kB / 0.9129 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/1.436, allocations: 10.88 kB / 0.9129 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/1.46, allocations: 13.9 MB / 0.9265 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.46, allocations: 0 / 0.9265 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.462, allocations: 383.4 kB / 0.9269 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007637/1.469, allocations: 2.849 MB / 0.9296 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/1.47, allocations: 4 kB / 0.9296 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/1.485, allocations: 12.34 MB / 0.9417 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.485, allocations: 3.938 kB / 0.9417 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01977/1.504, allocations: 11.09 MB / 0.9525 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.506, allocations: 412.1 kB / 0.9529 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006916/1.506, allocations: 3.938 kB / 0.9529 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.508, allocations: 171.7 kB / 0.9531 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/1.509, allocations: 149.7 kB / 0.9532 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.509, allocations: 63.98 kB / 0.9533 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003519/1.513, allocations: 2.19 MB / 0.9554 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/1.513, allocations: 0 / 0.9554 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00606/1.519, allocations: 1.146 MB / 0.9566 GB, free: 2.273 MB / 0.5417 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.3103/1.829, allocations: 11.89 MB / 0.9682 GB, free: 134.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01608/1.845, allocations: 7.454 MB / 0.9754 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.845, allocations: 1.812 kB / 0.9754 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004993/1.85, allocations: 2.964 MB / 0.9783 GB, free: 134.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.853, allocations: 376.8 kB / 0.9787 GB, free: 134.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/1.874, allocations: 11.05 MB / 0.9895 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00349/1.877, allocations: 3.763 MB / 0.9932 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004923/1.882, allocations: 2.212 MB / 0.9953 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002503/1.885, allocations: 2.201 MB / 0.9975 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/1.885, allocations: 0 / 0.9975 GB, free: 131.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1491/2.034, allocations: 94.38 MB / 1.09 GB, free: 75.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/2.034, allocations: 128.9 kB / 1.09 GB, free: 75.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.4/6.434, allocations: 0 / 1.09 GB, free: 75.19 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat