Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.001592/0.001592, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.002256/0.002255, allocations: 99.27 kB / 270.9 MB, free: 8.363 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.5219/0.5219, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004572, allocations: 8 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1802, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5608/0.7411, allocations: 107.3 MB / 0.5836 GB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/0.7415, allocations: 75.97 kB / 0.5837 GB, free: 10.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8054/1.547, allocations: 103.8 MB / 0.6851 GB, free: 86.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.547, allocations: 0 / 0.6851 GB, free: 86.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005951/1.548, allocations: 106.1 kB / 0.6852 GB, free: 86.45 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.03513/1.583, allocations: 5.702 MB / 0.6907 GB, free: 84.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/1.583, allocations: 9.75 kB / 0.6907 GB, free: 84.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006631/1.59, allocations: 1.022 MB / 0.6917 GB, free: 84.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07581/1.665, allocations: 6.88 MB / 0.6985 GB, free: 83.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04124/1.707, allocations: 7.536 MB / 0.7058 GB, free: 82.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008713/1.708, allocations: 370.9 kB / 0.7062 GB, free: 82.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003946/1.712, allocations: 0.4987 MB / 0.7067 GB, free: 82.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05652/1.768, allocations: 12.36 MB / 0.7187 GB, free: 79.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006584/1.769, allocations: 68.84 kB / 0.7188 GB, free: 79.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00363/1.773, allocations: 237.9 kB / 0.719 GB, free: 79.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00493/1.778, allocations: 1.153 MB / 0.7201 GB, free: 79.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05038/1.828, allocations: 10.28 MB / 0.7302 GB, free: 78.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09172/1.92, allocations: 55.71 MB / 0.7846 GB, free: 37.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02498/1.945, allocations: 5.716 MB / 0.7902 GB, free: 35.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02091/1.966, allocations: 8.803 MB / 0.7988 GB, free: 30.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/1.966, allocations: 62.77 kB / 0.7988 GB, free: 30.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 6.993e-06/1.966, allocations: 0 / 0.7988 GB, free: 30.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.227/2.193, allocations: 36.01 MB / 0.834 GB, free: 6.586 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/2.193, allocations: 209.9 kB / 0.8342 GB, free: 6.336 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/2.204, allocations: 4.225 MB / 0.8383 GB, free: 2.117 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008067/2.205, allocations: 65.7 kB / 0.8384 GB, free: 2.047 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003787/2.209, allocations: 3.449 MB / 0.8418 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002073/2.211, allocations: 0.9761 MB / 0.8427 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/2.212, allocations: 140.6 kB / 0.8428 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008505/2.213, allocations: 0.5881 MB / 0.8434 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009304/2.223, allocations: 3.008 MB / 0.8464 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/2.237, allocations: 6.817 MB / 0.853 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/2.249, allocations: 4.438 MB / 0.8574 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/2.25, allocations: 40 kB / 0.8574 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.4305/2.68, allocations: 12.89 MB / 0.87 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/2.68, allocations: 60.67 kB / 0.87 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002643/2.681, allocations: 133.8 kB / 0.8702 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02335/2.704, allocations: 4.083 MB / 0.8741 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009118/2.713, allocations: 1.42 MB / 0.8755 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06155/2.775, allocations: 26.88 MB / 0.9018 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00856/2.783, allocations: 394.5 kB / 0.9022 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/2.785, allocations: 401.6 kB / 0.9025 GB, free: 96.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (763): * Single equations (assignments): 757 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.007242/2.792, allocations: 2.482 MB / 0.905 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/2.794, allocations: 450.8 kB / 0.9054 GB, free: 95.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04146/2.835, allocations: 8.113 MB / 0.9133 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.083e-05/2.836, allocations: 29.48 kB / 0.9133 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.184e-05/2.836, allocations: 12.28 kB / 0.9134 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/2.836, allocations: 12.67 kB / 0.9134 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05286/2.889, allocations: 16.71 MB / 0.9297 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.795e-05/2.889, allocations: 7.562 kB / 0.9297 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/2.892, allocations: 300.8 kB / 0.93 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02095/2.913, allocations: 3.778 MB / 0.9337 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007533/2.913, allocations: 48.12 kB / 0.9337 GB, free: 86.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05741/2.971, allocations: 25.65 MB / 0.9588 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/2.971, allocations: 5.781 kB / 0.9588 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03647/3.007, allocations: 12.65 MB / 0.9711 GB, free: 68.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003791/3.011, allocations: 0.95 MB / 0.9721 GB, free: 67.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/3.013, allocations: 46.84 kB / 0.9721 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004866/3.018, allocations: 167.7 kB / 0.9723 GB, free: 67.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/3.019, allocations: 199.4 kB / 0.9724 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003578/3.02, allocations: 69.84 kB / 0.9725 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007853/3.027, allocations: 2.999 MB / 0.9754 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/3.027, allocations: 0 / 0.9754 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009564/3.037, allocations: 1.429 MB / 0.9768 GB, free: 66.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.03774/3.075, allocations: 14.42 MB / 0.9909 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02114/3.096, allocations: 8.135 MB / 0.9989 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/3.096, allocations: 0 / 0.9989 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009529/3.106, allocations: 3.479 MB / 1.002 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/3.111, allocations: 0.5458 MB / 1.003 GB, free: 49.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5341/3.645, allocations: 141.9 MB / 1.141 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00992/3.655, allocations: 4.046 MB / 1.145 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00668/3.662, allocations: 2.44 MB / 1.148 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.763e-06/3.662, allocations: 0 / 1.148 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.749/9.411, allocations: 167.3 MB / 1.311 GB, free: 128.5 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat