Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",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.001405/0.001405, allocations: 182.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008886, allocations: 102.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1966/0.1966, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 58.85 MB / 490.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4357/0.5731, allocations: 115.4 MB / 0.5916 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5733, allocations: 81.27 kB / 0.5917 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6253/1.199, allocations: 143 MB / 0.7313 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.347e-06/1.199, allocations: 3.25 kB / 0.7313 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004569/1.199, allocations: 128.6 kB / 0.7314 GB, free: 105.9 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02556/1.225, allocations: 7.303 MB / 0.7386 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.225, allocations: 12.06 kB / 0.7386 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005284/1.23, allocations: 1.276 MB / 0.7398 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03448/1.265, allocations: 9.324 MB / 0.7489 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02263/1.287, allocations: 9.184 MB / 0.7579 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/1.288, allocations: 483.4 kB / 0.7584 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003319/1.291, allocations: 0.6373 MB / 0.759 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03375/1.325, allocations: 15.66 MB / 0.7743 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000405/1.325, allocations: 73.56 kB / 0.7743 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001956/1.327, allocations: 308.9 kB / 0.7746 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001811/1.329, allocations: 1.384 MB / 0.776 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02637/1.356, allocations: 12.91 MB / 0.7886 GB, free: 94.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07003/1.426, allocations: 64.48 MB / 0.8516 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.441, allocations: 6.285 MB / 0.8577 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/1.456, allocations: 11.18 MB / 0.8686 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/1.456, allocations: 60.5 kB / 0.8687 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 3.707e-06/1.456, allocations: 4 kB / 0.8687 GB, free: 22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=337): time 0.1165/1.572, allocations: 37.37 MB / 0.9052 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.572, allocations: 239.9 kB / 0.9054 GB, free: 224 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.25/1.822, allocations: 5 MB / 0.9103 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/1.824, allocations: 74.42 kB / 0.9103 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003897/1.828, allocations: 4.48 MB / 0.9147 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/1.83, allocations: 1.236 MB / 0.9159 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/1.83, allocations: 161.8 kB / 0.9161 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005619/1.831, allocations: 0.6553 MB / 0.9167 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007078/1.838, allocations: 3.604 MB / 0.9202 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.849, allocations: 8.134 MB / 0.9282 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008354/1.857, allocations: 5.326 MB / 0.9334 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/1.857, allocations: 42.88 kB / 0.9334 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.03374/1.891, allocations: 14.75 MB / 0.9478 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000655/1.892, allocations: 77.5 kB / 0.9479 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007979/1.892, allocations: 163.7 kB / 0.9481 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/1.906, allocations: 3.575 MB / 0.9515 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007072/1.913, allocations: 1.798 MB / 0.9533 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/1.94, allocations: 18.63 MB / 0.9715 GB, free: 95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008473/1.949, allocations: 488.8 kB / 0.972 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/1.951, allocations: 470.7 kB / 0.9724 GB, free: 94.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (972): * Single equations (assignments): 968 * 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.00824/1.959, allocations: 3.126 MB / 0.9755 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/1.961, allocations: 0.5233 MB / 0.976 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02154/1.983, allocations: 8.901 MB / 0.9847 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/1.983, allocations: 35.72 kB / 0.9847 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.341e-05/1.983, allocations: 17.28 kB / 0.9847 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/1.983, allocations: 16.17 kB / 0.9847 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04902/2.032, allocations: 18.68 MB / 1.003 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.17e-05/2.032, allocations: 3.344 kB / 1.003 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/2.035, allocations: 489.3 kB / 1.003 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01086/2.046, allocations: 3.126 MB / 1.007 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009592/2.047, allocations: 64.08 kB / 1.007 GB, free: 82.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/2.069, allocations: 16.32 MB / 1.023 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/2.069, allocations: 11.94 kB / 1.023 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02687/2.096, allocations: 14.16 MB / 1.036 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004773/2.101, allocations: 1.095 MB / 1.037 GB, free: 54.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002765/2.104, allocations: 60 kB / 1.037 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00465/2.108, allocations: 202.6 kB / 1.038 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/2.11, allocations: 223 kB / 1.038 GB, free: 54.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007793/2.111, allocations: 95.19 kB / 1.038 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01011/2.121, allocations: 3.548 MB / 1.041 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/2.121, allocations: 0 / 1.041 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01186/2.133, allocations: 1.679 MB / 1.043 GB, free: 49.9 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 249 * 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.02614/2.159, allocations: 16.08 MB / 1.059 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0139/2.173, allocations: 8.919 MB / 1.067 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.173, allocations: 4.25 kB / 1.067 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00521/2.178, allocations: 3.484 MB / 1.071 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005123/2.183, allocations: 0.6861 MB / 1.072 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3467/2.53, allocations: 138.2 MB / 1.206 GB, free: 35.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/2.541, allocations: 4.969 MB / 1.211 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009006/2.55, allocations: 2.597 MB / 1.214 GB, free: 34.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005533/2.556, allocations: 3.06 MB / 1.217 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of SimCode: time 1.353e-06/2.556, allocations: 4 kB / 1.217 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4122/2.968, allocations: 130.7 MB / 1.345 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/2.968, allocations: 197.2 kB / 1.345 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.49/9.459, allocations: 10.72 kB / 1.345 GB, free: 141.6 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat