Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 202.8 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.294/1.294, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008916/0.0008916, allocations: 97.41 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1957/0.1957, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.44e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5669, allocations: 117.6 MB / 0.6193 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5672, allocations: 78.64 kB / 0.6194 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6991/1.266, allocations: 145.8 MB / 0.7618 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/1.266, allocations: 2.406 kB / 0.7618 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006831/1.267, allocations: 131.8 kB / 0.7619 GB, free: 112.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0232/1.29, allocations: 6.66 MB / 0.7684 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.29, allocations: 10.78 kB / 0.7684 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03658/1.327, allocations: 9.337 MB / 0.7776 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.345, allocations: 7.89 MB / 0.7853 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/1.346, allocations: 204.5 kB / 0.7855 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002534/1.348, allocations: 383.2 kB / 0.7858 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01585/1.364, allocations: 9.347 MB / 0.7949 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/1.392, allocations: 13.28 MB / 0.8079 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003139/1.392, allocations: 78.59 kB / 0.808 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/1.394, allocations: 40.86 kB / 0.808 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001656/1.395, allocations: 1.388 MB / 0.8094 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07214/1.467, allocations: 62.25 MB / 0.8702 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00509/1.473, allocations: 4.349 MB / 0.8744 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/1.476, allocations: 3.022 MB / 0.8774 GB, free: 60.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/1.477, allocations: 2.384 MB / 0.8797 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/1.478, allocations: 63.23 kB / 0.8798 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=251): time 5.951e-06/1.478, allocations: 4 kB / 0.8798 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=343): time 0.06421/1.542, allocations: 27.41 MB / 0.9065 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/1.542, allocations: 239.9 kB / 0.9068 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006172/1.548, allocations: 4.363 MB / 0.911 GB, free: 32.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007537/1.549, allocations: 25.7 kB / 0.911 GB, free: 32.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002128/1.551, allocations: 4.501 MB / 0.9154 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.552, allocations: 1.209 MB / 0.9166 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003677/1.553, allocations: 7.938 kB / 0.9166 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003069/1.553, allocations: 0.6598 MB / 0.9173 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003751/1.557, allocations: 3.435 MB / 0.9206 GB, free: 23.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005779/1.563, allocations: 8.094 MB / 0.9285 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006333/1.569, allocations: 5.215 MB / 0.9336 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-05/1.569, allocations: 44 kB / 0.9337 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.02922/1.598, allocations: 13.71 MB / 0.9471 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/1.598, allocations: 80.06 kB / 0.9471 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002892/1.599, allocations: 166.4 kB / 0.9473 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/1.611, allocations: 3.498 MB / 0.9507 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007326/1.619, allocations: 1.86 MB / 0.9525 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3816/2, allocations: 16.82 MB / 0.9689 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007151/2.008, allocations: 329.5 kB / 0.9693 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/2.01, allocations: 486.5 kB / 0.9697 GB, free: 110.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 751 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1004): * Single equations (assignments): 1000 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001559/2.011, allocations: 0.5217 MB / 0.9702 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01973/2.031, allocations: 8.537 MB / 0.9786 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/2.033, allocations: 0.4966 MB / 0.9791 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01795/2.051, allocations: 8.532 MB / 0.9874 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.739e-05/2.051, allocations: 35.44 kB / 0.9874 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-05/2.051, allocations: 11.81 kB / 0.9874 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/2.051, allocations: 18.2 kB / 0.9875 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02985/2.081, allocations: 17.28 MB / 1.004 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/2.081, allocations: 10.5 kB / 1.004 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/2.083, allocations: 499.2 kB / 1.005 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009765/2.093, allocations: 3.049 MB / 1.008 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006023/2.094, allocations: 19.55 kB / 1.008 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/2.112, allocations: 14.49 MB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/2.112, allocations: 10.19 kB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/2.133, allocations: 13.81 MB / 1.035 GB, free: 96.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/2.135, allocations: 0.516 MB / 1.036 GB, free: 95.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008098/2.136, allocations: 7.625 kB / 1.036 GB, free: 95.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002425/2.138, allocations: 155 kB / 1.036 GB, free: 95.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005319/2.139, allocations: 223.2 kB / 1.036 GB, free: 95.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/2.139, allocations: 99.89 kB / 1.036 GB, free: 95.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004191/2.143, allocations: 2.964 MB / 1.039 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/2.143, allocations: 0 / 1.039 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008193/2.151, allocations: 1.467 MB / 1.041 GB, free: 94.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (259): * Single equations (assignments): 255 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02277/2.174, allocations: 15.74 MB / 1.056 GB, free: 86.65 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01192/2.186, allocations: 8.45 MB / 1.064 GB, free: 83.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/2.186, allocations: 9.781 kB / 1.064 GB, free: 83.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00389/2.19, allocations: 3.356 MB / 1.068 GB, free: 82.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/2.193, allocations: 0.573 MB / 1.068 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/2.222, allocations: 14.72 MB / 1.083 GB, free: 69.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004671/2.226, allocations: 4.951 MB / 1.087 GB, free: 65.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006541/2.233, allocations: 2.67 MB / 1.09 GB, free: 63.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003928/2.237, allocations: 3.045 MB / 1.093 GB, free: 61.13 MB / 0.5417 GB Notification: Performance of SimCode: time 9.22e-07/2.237, allocations: 0 / 1.093 GB, free: 61.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4744/2.711, allocations: 125.1 MB / 1.215 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/2.712, allocations: 146.6 kB / 1.215 GB, free: 108 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.919/8.63, allocations: 4 kB / 1.215 GB, free: 108 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat