Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR",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.0009317/0.0009317, allocations: 180.9 kB / 8.006 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.601/1.601, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008842/0.0008839, allocations: 82.64 kB / 261.7 MB, free: 1.688 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.2123/0.2123, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.051e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5716, allocations: 115.5 MB / 0.5788 GB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.5721, allocations: 84.8 kB / 0.5789 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6973/1.269, allocations: 151.6 MB / 0.7269 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.814e-06/1.269, allocations: 0 / 0.7269 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001046/1.27, allocations: 135 kB / 0.727 GB, free: 104.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: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.0258/1.296, allocations: 6.553 MB / 0.7334 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.296, allocations: 10.69 kB / 0.7334 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02899/1.325, allocations: 6.679 MB / 0.7399 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/1.348, allocations: 8.368 MB / 0.7481 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/1.349, allocations: 234.3 kB / 0.7483 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004706/1.354, allocations: 427 kB / 0.7487 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02253/1.376, allocations: 11.66 MB / 0.7601 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03833/1.415, allocations: 15.89 MB / 0.7757 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006475/1.415, allocations: 86.31 kB / 0.7757 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004699/1.42, allocations: 47.27 kB / 0.7758 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002885/1.423, allocations: 1.721 MB / 0.7775 GB, free: 96.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0867/1.51, allocations: 70.87 MB / 0.8467 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004778/1.514, allocations: 4.663 MB / 0.8512 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/1.517, allocations: 2.675 MB / 0.8538 GB, free: 33.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/1.536, allocations: 13.71 MB / 0.8672 GB, free: 21.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/1.536, allocations: 60.56 kB / 0.8673 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 6.543e-06/1.536, allocations: 0 / 0.8673 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=346): time 0.04283/1.579, allocations: 17.98 MB / 0.8848 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/1.579, allocations: 196.2 kB / 0.885 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007082/1.586, allocations: 4.622 MB / 0.8895 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007827/1.587, allocations: 33.7 kB / 0.8896 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003554/1.59, allocations: 5.09 MB / 0.8946 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001765/1.592, allocations: 1.249 MB / 0.8958 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005475/1.593, allocations: 4 kB / 0.8958 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005965/1.593, allocations: 0.7274 MB / 0.8965 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00497/1.598, allocations: 3.046 MB / 0.8995 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3337/1.932, allocations: 8.748 MB / 0.908 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/1.943, allocations: 5.296 MB / 0.9132 GB, free: 102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000277/1.944, allocations: 58.59 kB / 0.9132 GB, free: 102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.02971/1.973, allocations: 11.71 MB / 0.9247 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/1.974, allocations: 92.06 kB / 0.9248 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/1.974, allocations: 212.2 kB / 0.925 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003711/1.978, allocations: 1.306 MB / 0.9262 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007633/1.985, allocations: 2.268 MB / 0.9284 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009306/1.995, allocations: 6.839 MB / 0.9351 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009346/2.004, allocations: 383.7 kB / 0.9355 GB, free: 99.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002546/2.007, allocations: 0.571 MB / 0.936 GB, free: 99.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1206): * Single equations (assignments): 1199 * Array equations: 6 * 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%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001908/2.008, allocations: 0.6077 MB / 0.9366 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009849/2.018, allocations: 5.158 MB / 0.9417 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009774/2.019, allocations: 0.5058 MB / 0.9422 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/2.03, allocations: 5.023 MB / 0.9471 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-05/2.03, allocations: 38.12 kB / 0.9471 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/2.03, allocations: 7.125 kB / 0.9471 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/2.03, allocations: 17.17 kB / 0.9471 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/2.055, allocations: 12.24 MB / 0.9591 GB, free: 97.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/2.056, allocations: 9.5 kB / 0.9591 GB, free: 97.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/2.058, allocations: 0.5229 MB / 0.9596 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/2.061, allocations: 0.8605 MB / 0.9604 GB, free: 97.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/2.061, allocations: 25.14 kB / 0.9605 GB, free: 97.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007034/2.068, allocations: 5.149 MB / 0.9655 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/2.068, allocations: 22.11 kB / 0.9655 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/2.081, allocations: 9.781 MB / 0.9751 GB, free: 89.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/2.084, allocations: 0.9064 MB / 0.976 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008666/2.085, allocations: 25.67 kB / 0.976 GB, free: 88.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/2.087, allocations: 127.6 kB / 0.9761 GB, free: 88.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/2.087, allocations: 215.7 kB / 0.9763 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/2.087, allocations: 108.9 kB / 0.9764 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005433/2.093, allocations: 3.06 MB / 0.9794 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/2.093, allocations: 3.562 kB / 0.9794 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009425/2.102, allocations: 1.422 MB / 0.9808 GB, free: 87.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * Array equations: 6 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0147/2.117, allocations: 12.85 MB / 0.9933 GB, free: 79.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01249/2.129, allocations: 7.282 MB / 1 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.13, allocations: 6.562 kB / 1 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003339/2.133, allocations: 2.275 MB / 1.003 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/2.136, allocations: 0.5038 MB / 1.003 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0357/2.172, allocations: 14.69 MB / 1.018 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006856/2.179, allocations: 5.319 MB / 1.023 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00803/2.187, allocations: 3.121 MB / 1.026 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005838/2.193, allocations: 3.364 MB / 1.029 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/2.193, allocations: 0 / 1.029 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.46/2.653, allocations: 117.5 MB / 1.144 GB, free: 92.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001183/2.653, allocations: 134.5 kB / 1.144 GB, free: 92.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.486/8.139, allocations: 0 / 1.144 GB, free: 92.57 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat