Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002357/0.002356, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 88.06 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.303/0.303, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.048e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4071, allocations: 58.85 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2096/0.6167, allocations: 115.5 MB / 0.5788 GB, free: 15.77 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.617, allocations: 75.97 kB / 0.5788 GB, free: 15.7 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.937/1.554, allocations: 151.6 MB / 0.7269 GB, free: 81.96 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.304e-06/1.554, allocations: 4 kB / 0.7269 GB, free: 81.95 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003804/1.554, allocations: 135.4 kB / 0.727 GB, free: 81.82 MB / 475.1 MB 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.02604/1.581, allocations: 6.552 MB / 0.7334 GB, free: 75.21 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.581, allocations: 8.031 kB / 0.7334 GB, free: 75.2 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04974/1.63, allocations: 6.679 MB / 0.7399 GB, free: 68.5 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03039/1.661, allocations: 8.374 MB / 0.7481 GB, free: 60.14 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004717/1.661, allocations: 228 kB / 0.7483 GB, free: 59.91 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004104/1.665, allocations: 427.8 kB / 0.7487 GB, free: 59.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02872/1.694, allocations: 11.66 MB / 0.7601 GB, free: 47.83 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04306/1.737, allocations: 15.9 MB / 0.7756 GB, free: 30.6 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004363/1.738, allocations: 79.28 kB / 0.7757 GB, free: 30.52 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003496/1.741, allocations: 40 kB / 0.7758 GB, free: 30.48 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003816/1.745, allocations: 1.722 MB / 0.7774 GB, free: 28.76 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5284/2.274, allocations: 70.87 MB / 0.8466 GB, free: 73.85 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/2.284, allocations: 4.667 MB / 0.8512 GB, free: 72.62 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006736/2.291, allocations: 2.669 MB / 0.8538 GB, free: 72.58 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04096/2.332, allocations: 13.71 MB / 0.8672 GB, free: 68.55 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/2.332, allocations: 58.25 kB / 0.8672 GB, free: 68.52 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=286): time 6.552e-06/2.332, allocations: 0 / 0.8672 GB, free: 68.52 MB / 0.4952 GB Notification: Performance of matching and sorting (n=346): time 0.07662/2.409, allocations: 18 MB / 0.8848 GB, free: 64.54 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/2.409, allocations: 190.8 kB / 0.885 GB, free: 64.35 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/2.42, allocations: 4.616 MB / 0.8895 GB, free: 63.91 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0008122/2.421, allocations: 28.98 kB / 0.8895 GB, free: 63.88 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004645/2.426, allocations: 5.013 MB / 0.8944 GB, free: 60.77 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002244/2.428, allocations: 1.246 MB / 0.8957 GB, free: 60.03 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/2.43, allocations: 0 / 0.8957 GB, free: 60.03 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.00133/2.431, allocations: 0.7325 MB / 0.8964 GB, free: 59.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008514/2.44, allocations: 3.049 MB / 0.8993 GB, free: 58.64 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/2.453, allocations: 8.752 MB / 0.9079 GB, free: 49.86 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/2.467, allocations: 5.291 MB / 0.9131 GB, free: 48.3 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002282/2.467, allocations: 62.38 kB / 0.9131 GB, free: 48.3 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.03901/2.506, allocations: 11.57 MB / 0.9244 GB, free: 45.16 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/2.507, allocations: 96.56 kB / 0.9245 GB, free: 45.16 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000338/2.507, allocations: 206.2 kB / 0.9247 GB, free: 45.16 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007323/2.514, allocations: 1.31 MB / 0.926 GB, free: 44.94 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01413/2.528, allocations: 2.267 MB / 0.9282 GB, free: 44.67 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/2.545, allocations: 6.84 MB / 0.9349 GB, free: 39.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/2.556, allocations: 382 kB / 0.9352 GB, free: 39.4 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002294/2.558, allocations: 0.5743 MB / 0.9358 GB, free: 38.83 MB / 0.4952 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.002142/2.561, allocations: 0.6076 MB / 0.9364 GB, free: 38.23 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01739/2.578, allocations: 5.152 MB / 0.9414 GB, free: 33.77 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/2.58, allocations: 0.509 MB / 0.9419 GB, free: 33.26 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/2.597, allocations: 5.025 MB / 0.9468 GB, free: 29.11 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/2.597, allocations: 37.95 kB / 0.9469 GB, free: 29.07 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/2.597, allocations: 11.94 kB / 0.9469 GB, free: 29.06 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.88e-05/2.597, allocations: 17.25 kB / 0.9469 GB, free: 29.06 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04084/2.638, allocations: 12.25 MB / 0.9589 GB, free: 18.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.973e-05/2.638, allocations: 12.94 kB / 0.9589 GB, free: 18.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004507/2.643, allocations: 0.5209 MB / 0.9594 GB, free: 18.47 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006122/2.649, allocations: 0.8671 MB / 0.9602 GB, free: 17.84 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007241/2.65, allocations: 20 kB / 0.9602 GB, free: 17.82 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/2.662, allocations: 5.143 MB / 0.9653 GB, free: 13.18 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.757e-05/2.663, allocations: 19.94 kB / 0.9653 GB, free: 13.16 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02261/2.685, allocations: 9.789 MB / 0.9748 GB, free: 3.82 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003785/2.689, allocations: 0.9007 MB / 0.9757 GB, free: 2.961 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/2.691, allocations: 23.89 kB / 0.9757 GB, free: 2.941 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004811/2.695, allocations: 122.5 kB / 0.9759 GB, free: 2.871 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/2.697, allocations: 226.2 kB / 0.9761 GB, free: 2.715 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/2.697, allocations: 103 kB / 0.9762 GB, free: 2.617 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008221/2.705, allocations: 3.058 MB / 0.9792 GB, free: 0 / 0.4952 GB Notification: Performance of sort global known variables: time 8.41e-07/2.705, allocations: 336 / 0.9792 GB, free: 0 / 0.4952 GB Notification: Performance of remove unused functions: time 0.0171/2.722, allocations: 1.604 MB / 0.9807 GB, free: 14.93 MB / 0.5108 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.0327/2.755, allocations: 12.84 MB / 0.9933 GB, free: 2.57 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.02198/2.777, allocations: 7.286 MB / 1 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/2.777, allocations: 0 / 1 GB, free: 11.89 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.007241/2.784, allocations: 2.281 MB / 1.003 GB, free: 9.785 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005651/2.79, allocations: 0.5181 MB / 1.003 GB, free: 9.344 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05526/2.845, allocations: 15.48 MB / 1.018 GB, free: 11.75 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01434/2.86, allocations: 5.326 MB / 1.023 GB, free: 7.805 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009619/2.869, allocations: 3.433 MB / 1.027 GB, free: 4.477 MB / 0.5421 GB Notification: Performance of SimCode: time 1.453e-06/2.87, allocations: 0 / 1.027 GB, free: 4.477 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.37/8.239, allocations: 162.2 MB / 1.185 GB, free: 82.35 MB / 0.5577 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat