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.001474/0.001473, allocations: 178.4 kB / 8.362 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.066/2.066, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001057/0.001057, allocations: 83.34 kB / 262.1 MB, free: 13.88 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.2986/0.2986, allocations: 43.48 MB / 353.5 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.145e-05, allocations: 224 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4251, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.627, allocations: 106.5 MB / 0.57 GB, free: 8.621 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.6273, allocations: 75.95 kB / 0.5701 GB, free: 8.547 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7672/1.395, allocations: 101.6 MB / 0.6693 GB, free: 107.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.184e-06/1.395, allocations: 0 / 0.6693 GB, free: 107.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004253/1.395, allocations: 105.6 kB / 0.6694 GB, free: 107.6 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02263/1.418, allocations: 5.204 MB / 0.6745 GB, free: 105.5 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.418, allocations: 10.34 kB / 0.6745 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04929/1.467, allocations: 6.888 MB / 0.6812 GB, free: 105.1 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/1.494, allocations: 7.492 MB / 0.6885 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/1.495, allocations: 161.1 kB / 0.6887 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00275/1.497, allocations: 295.3 kB / 0.689 GB, free: 103.5 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01748/1.515, allocations: 7.048 MB / 0.6959 GB, free: 101 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/1.543, allocations: 10.8 MB / 0.7064 GB, free: 95.21 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004157/1.544, allocations: 79.14 kB / 0.7065 GB, free: 95.16 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002331/1.546, allocations: 36.31 kB / 0.7065 GB, free: 95.16 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002437/1.548, allocations: 1.143 MB / 0.7076 GB, free: 94.94 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07955/1.628, allocations: 54.04 MB / 0.7604 GB, free: 42.7 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007515/1.636, allocations: 4.335 MB / 0.7646 GB, free: 38.23 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004893/1.641, allocations: 2.74 MB / 0.7673 GB, free: 35.48 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009616/1.642, allocations: 0.5685 MB / 0.7679 GB, free: 34.83 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.642, allocations: 55.88 kB / 0.7679 GB, free: 34.77 MB / 475.1 MB Notification: Performance of pre-optimization done (n=213): time 6.192e-06/1.642, allocations: 7.875 kB / 0.7679 GB, free: 34.76 MB / 475.1 MB Notification: Performance of matching and sorting (n=272): time 0.1171/1.759, allocations: 27.03 MB / 0.7943 GB, free: 7.73 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/1.759, allocations: 205.9 kB / 0.7945 GB, free: 7.488 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008985/1.768, allocations: 3.612 MB / 0.7981 GB, free: 3.863 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007475/1.769, allocations: 25.7 kB / 0.7981 GB, free: 3.832 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003114/1.772, allocations: 3.545 MB / 0.8015 GB, free: 244 kB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001948/1.774, allocations: 0.9713 MB / 0.8025 GB, free: 15.25 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/1.775, allocations: 0 / 0.8025 GB, free: 15.25 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.0008118/1.776, allocations: 0.6081 MB / 0.8031 GB, free: 14.63 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007871/1.784, allocations: 2.88 MB / 0.8059 GB, free: 11.75 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01178/1.796, allocations: 6.795 MB / 0.8125 GB, free: 2.992 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/1.807, allocations: 4.382 MB / 0.8168 GB, free: 14.61 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/1.807, allocations: 40 kB / 0.8168 GB, free: 14.57 MB / 0.4952 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.04586/1.853, allocations: 12 MB / 0.8286 GB, free: 2.57 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/1.853, allocations: 72.02 kB / 0.8286 GB, free: 2.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/1.853, allocations: 140 kB / 0.8288 GB, free: 2.363 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3854/2.239, allocations: 3.966 MB / 0.8326 GB, free: 119.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/2.249, allocations: 1.471 MB / 0.8341 GB, free: 119.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05967/2.309, allocations: 24.34 MB / 0.8578 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008792/2.317, allocations: 269.5 kB / 0.8581 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/2.32, allocations: 419.7 kB / 0.8585 GB, free: 113 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (794): * Single equations (assignments): 788 * 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.002307/2.322, allocations: 459.9 kB / 0.8589 GB, free: 112.9 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0273/2.349, allocations: 7.856 MB / 0.8666 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/2.351, allocations: 423.4 kB / 0.867 GB, free: 110.6 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0267/2.378, allocations: 7.742 MB / 0.8746 GB, free: 108.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/2.378, allocations: 30.52 kB / 0.8746 GB, free: 108.1 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.061e-05/2.378, allocations: 11.75 kB / 0.8746 GB, free: 108.1 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.085e-05/2.378, allocations: 17.02 kB / 0.8746 GB, free: 108.1 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0488/2.427, allocations: 15.76 MB / 0.89 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/2.427, allocations: 8.562 kB / 0.89 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/2.43, allocations: 310.2 kB / 0.8903 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01877/2.449, allocations: 3.666 MB / 0.8939 GB, free: 101.4 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007274/2.449, allocations: 11.53 kB / 0.8939 GB, free: 101.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04839/2.498, allocations: 23.08 MB / 0.9165 GB, free: 89.74 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/2.498, allocations: 9.406 kB / 0.9165 GB, free: 89.74 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.033/2.531, allocations: 12.28 MB / 0.9285 GB, free: 79.82 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00358/2.534, allocations: 0.9114 MB / 0.9294 GB, free: 78.97 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/2.536, allocations: 11.23 kB / 0.9294 GB, free: 78.96 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004582/2.541, allocations: 131.3 kB / 0.9295 GB, free: 78.9 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/2.542, allocations: 202.4 kB / 0.9297 GB, free: 78.77 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000336/2.542, allocations: 74.19 kB / 0.9298 GB, free: 78.7 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.005968/2.548, allocations: 2.455 MB / 0.9322 GB, free: 76.56 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.153e-06/2.548, allocations: 3.656 kB / 0.9322 GB, free: 76.56 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.009764/2.558, allocations: 1.241 MB / 0.9334 GB, free: 75.33 MB / 0.4952 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 162 * 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.03333/2.591, allocations: 14.09 MB / 0.9471 GB, free: 63 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01863/2.61, allocations: 7.773 MB / 0.9547 GB, free: 55.65 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.61, allocations: 0 / 0.9547 GB, free: 55.65 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.009174/2.619, allocations: 3.352 MB / 0.958 GB, free: 52.28 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/2.624, allocations: 458.5 kB / 0.9584 GB, free: 51.84 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03906/2.663, allocations: 12.39 MB / 0.9705 GB, free: 39.42 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009775/2.673, allocations: 4.055 MB / 0.9745 GB, free: 35.38 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005991/2.679, allocations: 2.422 MB / 0.9768 GB, free: 32.96 MB / 0.4952 GB Notification: Performance of SimCode: time 1.563e-06/2.679, allocations: 0 / 0.9768 GB, free: 32.96 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.317/7.996, allocations: 164.6 MB / 1.138 GB, free: 62.07 MB / 0.5108 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