Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",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.001467/0.001467, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000831/0.000831, allocations: 82.28 kB / 261.7 MB, free: 1.684 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.1884/0.1884, allocations: 43.48 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.492e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5564, allocations: 114 MB / 0.5773 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.5568, allocations: 83.36 kB / 0.5774 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3791/0.9359, allocations: 121.1 MB / 0.6957 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9359, allocations: 0 / 0.6957 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004052/0.9363, allocations: 108 kB / 0.6958 GB, free: 12.13 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02173/0.9581, allocations: 5.645 MB / 0.7013 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.9582, allocations: 8.031 kB / 0.7013 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02066/0.9788, allocations: 4.727 MB / 0.7059 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3212/1.3, allocations: 6.63 MB / 0.7124 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005739/1.301, allocations: 259.3 kB / 0.7126 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/1.303, allocations: 327.5 kB / 0.7129 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01736/1.321, allocations: 8.464 MB / 0.7212 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/1.349, allocations: 12.07 MB / 0.733 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004014/1.35, allocations: 63.44 kB / 0.7331 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002807/1.352, allocations: 37.38 kB / 0.7331 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/1.354, allocations: 1.299 MB / 0.7344 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07132/1.426, allocations: 57.64 MB / 0.7907 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/1.43, allocations: 3.908 MB / 0.7945 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/1.433, allocations: 2.637 MB / 0.7971 GB, free: 65.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01742/1.451, allocations: 11.74 MB / 0.8085 GB, free: 59.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/1.451, allocations: 50.44 kB / 0.8086 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 5.801e-06/1.451, allocations: 0 / 0.8086 GB, free: 59.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.07624/1.527, allocations: 33.55 MB / 0.8413 GB, free: 40.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/1.527, allocations: 231.6 kB / 0.8416 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005379/1.533, allocations: 3.679 MB / 0.8451 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005772/1.533, allocations: 26.64 kB / 0.8452 GB, free: 36.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.535, allocations: 3.979 MB / 0.8491 GB, free: 33.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009328/1.536, allocations: 0.8855 MB / 0.8499 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/1.536, allocations: 0 / 0.8499 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002847/1.537, allocations: 0.6145 MB / 0.8505 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/1.54, allocations: 3.063 MB / 0.8535 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004646/1.545, allocations: 7.454 MB / 0.8608 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005152/1.55, allocations: 4.669 MB / 0.8653 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-05/1.55, allocations: 44 kB / 0.8654 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02447/1.575, allocations: 12.82 MB / 0.8779 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.575, allocations: 72 kB / 0.878 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/1.575, allocations: 156 kB / 0.8781 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/1.586, allocations: 3.778 MB / 0.8818 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005924/1.592, allocations: 1.662 MB / 0.8834 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02653/1.618, allocations: 16.53 MB / 0.8996 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008341/1.627, allocations: 351.2 kB / 0.8999 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/1.629, allocations: 452 kB / 0.9004 GB, free: 1.594 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * 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 (885): * Single equations (assignments): 881 * 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.003353/1.632, allocations: 493.8 kB / 0.9008 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3522/1.985, allocations: 7.909 MB / 0.9085 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.986, allocations: 407.9 kB / 0.9089 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01977/2.006, allocations: 7.886 MB / 0.9166 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-05/2.006, allocations: 24.41 kB / 0.9167 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.791e-05/2.006, allocations: 14.47 kB / 0.9167 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/2.006, allocations: 14.09 kB / 0.9167 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03105/2.037, allocations: 16.23 MB / 0.9325 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/2.037, allocations: 0 / 0.9325 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/2.039, allocations: 391.2 kB / 0.9329 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/2.05, allocations: 3.821 MB / 0.9366 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000623/2.051, allocations: 7.359 kB / 0.9366 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/2.07, allocations: 15 MB / 0.9513 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/2.07, allocations: 0 / 0.9513 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/2.091, allocations: 12.36 MB / 0.9634 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003063/2.094, allocations: 0.8996 MB / 0.9642 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/2.096, allocations: 3.344 kB / 0.9642 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/2.098, allocations: 180.4 kB / 0.9644 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000547/2.099, allocations: 145.9 kB / 0.9646 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/2.099, allocations: 68.52 kB / 0.9646 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004224/2.103, allocations: 2.453 MB / 0.967 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/2.103, allocations: 0 / 0.967 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008225/2.112, allocations: 1.27 MB / 0.9683 GB, free: 102.5 MB / 0.5105 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.02162/2.133, allocations: 13.22 MB / 0.9812 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0112/2.144, allocations: 7.419 MB / 0.9884 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/2.144, allocations: 0 / 0.9884 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003675/2.148, allocations: 2.844 MB / 0.9912 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/2.151, allocations: 402.1 kB / 0.9916 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/2.176, allocations: 12.13 MB / 1.003 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/2.18, allocations: 4.213 MB / 1.008 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005662/2.186, allocations: 2.216 MB / 1.01 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003365/2.189, allocations: 2.473 MB / 1.012 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/2.189, allocations: 3.5 kB / 1.012 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4464/2.636, allocations: 104.5 MB / 1.114 GB, free: 96.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/2.636, allocations: 124.8 kB / 1.114 GB, free: 96.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.524/7.16, allocations: 0 / 1.114 GB, free: 96.66 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat