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.000912/0.0009122, allocations: 172.8 kB / 8 MB, free: 1.074 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.582/1.582, 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.0008282/0.0008282, allocations: 86.16 kB / 261.8 MB, free: 1.68 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.2134/0.2134, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.719e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.5814, allocations: 114.7 MB / 0.578 GB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.5817, allocations: 75.66 kB / 0.5781 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6433/1.225, allocations: 140.2 MB / 0.715 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/1.225, allocations: 2.875 kB / 0.715 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009654/1.226, allocations: 131 kB / 0.7151 GB, free: 101.4 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.02958/1.256, allocations: 6.644 MB / 0.7216 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/1.256, allocations: 9.062 kB / 0.7216 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03866/1.294, allocations: 9.333 MB / 0.7307 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02572/1.32, allocations: 9.129 MB / 0.7396 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006468/1.321, allocations: 204.2 kB / 0.7398 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004211/1.325, allocations: 387 kB / 0.7402 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01997/1.345, allocations: 9.344 MB / 0.7493 GB, free: 97.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/1.378, allocations: 13.28 MB / 0.7623 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006661/1.379, allocations: 85.14 kB / 0.7624 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003475/1.383, allocations: 33.94 kB / 0.7624 GB, free: 94.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/1.385, allocations: 1.389 MB / 0.7638 GB, free: 94.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07592/1.461, allocations: 62.33 MB / 0.8246 GB, free: 52.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/1.466, allocations: 4.346 MB / 0.8289 GB, free: 50.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/1.469, allocations: 3.019 MB / 0.8318 GB, free: 49.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001951/1.471, allocations: 2.378 MB / 0.8342 GB, free: 47.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.471, allocations: 60.06 kB / 0.8342 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=251): time 4.879e-06/1.471, allocations: 3.938 kB / 0.8342 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=343): time 0.06354/1.535, allocations: 27.58 MB / 0.8611 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/1.535, allocations: 247.6 kB / 0.8614 GB, free: 24.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/1.541, allocations: 4.392 MB / 0.8657 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007231/1.542, allocations: 32.23 kB / 0.8657 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.544, allocations: 4.52 MB / 0.8701 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.545, allocations: 1.211 MB / 0.8713 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/1.546, allocations: 0 / 0.8713 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003603/1.546, allocations: 0.6618 MB / 0.8719 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003918/1.55, allocations: 3.438 MB / 0.8753 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005776/1.556, allocations: 8.092 MB / 0.8832 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.566, allocations: 5.468 MB / 0.8885 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/1.567, allocations: 55.94 kB / 0.8886 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1105) (initialization): time 0.03407/1.601, allocations: 13.67 MB / 0.902 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/1.601, allocations: 72.97 kB / 0.902 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001939/1.601, allocations: 168 kB / 0.9022 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3462/1.947, allocations: 3.494 MB / 0.9056 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007435/1.955, allocations: 1.857 MB / 0.9074 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/1.984, allocations: 16.84 MB / 0.9239 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00758/1.991, allocations: 321 kB / 0.9242 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002511/1.994, allocations: 493.4 kB / 0.9246 GB, free: 100.3 MB / 0.5105 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.003185/1.997, allocations: 0.5187 MB / 0.9251 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01876/2.016, allocations: 8.541 MB / 0.9335 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/2.018, allocations: 0.4987 MB / 0.934 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01943/2.037, allocations: 8.532 MB / 0.9423 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.952e-05/2.037, allocations: 34.17 kB / 0.9423 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/2.037, allocations: 13.88 kB / 0.9423 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/2.037, allocations: 15.14 kB / 0.9424 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03464/2.072, allocations: 17.3 MB / 0.9593 GB, free: 96.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/2.072, allocations: 7.031 kB / 0.9593 GB, free: 96.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/2.075, allocations: 0.4907 MB / 0.9597 GB, free: 96.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009972/2.085, allocations: 3.045 MB / 0.9627 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009918/2.086, allocations: 13.75 kB / 0.9627 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/2.106, allocations: 14.5 MB / 0.9769 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/2.106, allocations: 10.78 kB / 0.9769 GB, free: 89.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02156/2.127, allocations: 13.81 MB / 0.9904 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003185/2.13, allocations: 1.072 MB / 0.9914 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/2.132, allocations: 10.22 kB / 0.9914 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/2.135, allocations: 155.2 kB / 0.9916 GB, free: 82.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000633/2.136, allocations: 220.6 kB / 0.9918 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/2.136, allocations: 93.86 kB / 0.9919 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005108/2.141, allocations: 2.997 MB / 0.9948 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/2.141, allocations: 0 / 0.9948 GB, free: 81.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009078/2.15, allocations: 1.467 MB / 0.9962 GB, free: 81.24 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 () * 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.0246/2.175, allocations: 15.73 MB / 1.012 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01396/2.189, allocations: 8.45 MB / 1.02 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.189, allocations: 10.94 kB / 1.02 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004898/2.194, allocations: 3.362 MB / 1.023 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/2.198, allocations: 0.5773 MB / 1.024 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/2.233, allocations: 14.74 MB / 1.038 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005734/2.239, allocations: 4.966 MB / 1.043 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006765/2.246, allocations: 2.678 MB / 1.046 GB, free: 42.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003969/2.25, allocations: 3.054 MB / 1.049 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/2.25, allocations: 0 / 1.049 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4703/2.72, allocations: 125.4 MB / 1.171 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/2.72, allocations: 142.6 kB / 1.171 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.599/8.319, allocations: 6.781 kB / 1.171 GB, free: 101.2 MB / 0.5261 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