Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",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.001677/0.001677, allocations: 180.5 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.469/1.469, allocations: 221.3 MB / 236 MB, free: 3.016 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.0009766/0.0009766, allocations: 91.78 kB / 287 MB, free: 260 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.234/0.234, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.435e-05, allocations: 4.219 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5232/0.6842, allocations: 116.7 MB / 0.6157 GB, free: 4.543 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.6845, allocations: 71.97 kB / 0.6158 GB, free: 4.473 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6692/1.354, allocations: 125.1 MB / 0.738 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.845e-06/1.354, allocations: 0 / 0.738 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004009/1.354, allocations: 110.9 kB / 0.7381 GB, free: 121.8 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02459/1.379, allocations: 5.637 MB / 0.7436 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.379, allocations: 14 kB / 0.7436 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004282/1.383, allocations: 0.9725 MB / 0.7446 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/1.403, allocations: 4.722 MB / 0.7492 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01865/1.422, allocations: 6.348 MB / 0.7554 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006288/1.423, allocations: 443.8 kB / 0.7558 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003344/1.426, allocations: 0.5446 MB / 0.7564 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/1.463, allocations: 14.07 MB / 0.7701 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004426/1.464, allocations: 67.31 kB / 0.7702 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/1.466, allocations: 266.6 kB / 0.7704 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001849/1.468, allocations: 1.301 MB / 0.7717 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.493, allocations: 11.66 MB / 0.7831 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06918/1.562, allocations: 59.28 MB / 0.841 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.573, allocations: 4.635 MB / 0.8455 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/1.577, allocations: 2.708 MB / 0.8481 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01581/1.592, allocations: 12.59 MB / 0.8604 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.593, allocations: 51.88 kB / 0.8605 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 5.23e-06/1.593, allocations: 0 / 0.8605 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.08869/1.681, allocations: 32.73 MB / 0.8924 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/1.681, allocations: 231.6 kB / 0.8927 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0067/1.688, allocations: 4.174 MB / 0.8967 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006631/1.689, allocations: 61.7 kB / 0.8968 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.691, allocations: 3.916 MB / 0.9006 GB, free: 56 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.693, allocations: 0.9144 MB / 0.9015 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/1.693, allocations: 144 kB / 0.9016 GB, free: 15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004687/1.694, allocations: 0.604 MB / 0.9022 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005005/1.699, allocations: 3.158 MB / 0.9053 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/1.707, allocations: 7.437 MB / 0.9126 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3551/2.062, allocations: 4.741 MB / 0.9172 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/2.062, allocations: 42.66 kB / 0.9173 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03351/2.096, allocations: 13.67 MB / 0.9306 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/2.096, allocations: 72.16 kB / 0.9307 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000283/2.096, allocations: 155.2 kB / 0.9308 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/2.109, allocations: 3.803 MB / 0.9345 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005829/2.114, allocations: 1.613 MB / 0.9361 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/2.138, allocations: 18 MB / 0.9537 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007425/2.145, allocations: 495.3 kB / 0.9542 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/2.147, allocations: 430.5 kB / 0.9546 GB, free: 116.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 855 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001343/2.148, allocations: 0.6427 MB / 0.9552 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/2.15, allocations: 438.2 kB / 0.9556 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/2.167, allocations: 8.088 MB / 0.9635 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.702e-05/2.167, allocations: 24.73 kB / 0.9635 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/2.167, allocations: 17.28 kB / 0.9635 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-05/2.167, allocations: 10.78 kB / 0.9636 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03597/2.203, allocations: 17.38 MB / 0.9805 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.056e-05/2.203, allocations: 6.781 kB / 0.9805 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/2.205, allocations: 389.8 kB / 0.9809 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/2.216, allocations: 3.847 MB / 0.9847 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006398/2.217, allocations: 39.23 kB / 0.9847 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/2.238, allocations: 16.45 MB / 1.001 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/2.239, allocations: 7 kB / 1.001 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/2.26, allocations: 12.54 MB / 1.013 GB, free: 90.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/2.262, allocations: 464.8 kB / 1.013 GB, free: 90.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/2.263, allocations: 39.42 kB / 1.014 GB, free: 90.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/2.266, allocations: 213.7 kB / 1.014 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006548/2.267, allocations: 153.2 kB / 1.014 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/2.267, allocations: 60.47 kB / 1.014 GB, free: 89.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004974/2.272, allocations: 2.903 MB / 1.017 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/2.272, allocations: 0 / 1.017 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00857/2.281, allocations: 1.456 MB / 1.018 GB, free: 85.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02265/2.303, allocations: 13.46 MB / 1.031 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01284/2.316, allocations: 7.744 MB / 1.039 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/2.316, allocations: 0 / 1.039 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003891/2.32, allocations: 2.914 MB / 1.042 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/2.324, allocations: 486.3 kB / 1.042 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/2.355, allocations: 12.42 MB / 1.054 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004617/2.36, allocations: 4.209 MB / 1.058 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005506/2.365, allocations: 2.174 MB / 1.061 GB, free: 44.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003322/2.368, allocations: 2.479 MB / 1.063 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/2.368, allocations: 0 / 1.063 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5301/2.898, allocations: 110.9 MB / 1.171 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/2.899, allocations: 160.1 kB / 1.171 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.335/8.234, allocations: 3.719 kB / 1.171 GB, free: 126.1 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat