Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 95.78 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2122/0.2122, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.108e-05, allocations: 0 / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5823, allocations: 108.4 MB / 0.6077 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.5827, allocations: 83.94 kB / 0.6078 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2587/0.8414, allocations: 96.49 MB / 0.702 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8415, allocations: 0 / 0.702 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003442/0.8418, allocations: 88 kB / 0.7021 GB, free: 11.46 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01772/0.8596, allocations: 4.608 MB / 0.7066 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.8596, allocations: 8.031 kB / 0.7066 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00337/0.863, allocations: 0.9083 MB / 0.7075 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3421/1.205, allocations: 6.73 MB / 0.714 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/1.224, allocations: 5.994 MB / 0.7199 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005103/1.225, allocations: 326.2 kB / 0.7202 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002078/1.227, allocations: 448.8 kB / 0.7206 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02826/1.255, allocations: 10.99 MB / 0.7314 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004702/1.256, allocations: 65.03 kB / 0.7314 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/1.258, allocations: 209.2 kB / 0.7316 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001959/1.26, allocations: 1.025 MB / 0.7326 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/1.281, allocations: 9.165 MB / 0.7416 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04648/1.327, allocations: 47.63 MB / 0.7881 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009743/1.337, allocations: 4.092 MB / 0.7921 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/1.339, allocations: 1.798 MB / 0.7938 GB, free: 81.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/1.35, allocations: 7.494 MB / 0.8012 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/1.35, allocations: 47.25 kB / 0.8012 GB, free: 77.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=180): time 7.845e-06/1.35, allocations: 3.781 kB / 0.8012 GB, free: 77.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.07806/1.428, allocations: 25.6 MB / 0.8262 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/1.428, allocations: 201.9 kB / 0.8264 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/1.434, allocations: 3.753 MB / 0.8301 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005882/1.435, allocations: 61.7 kB / 0.8301 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.436, allocations: 3.236 MB / 0.8333 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.438, allocations: 0.8811 MB / 0.8341 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/1.438, allocations: 128 kB / 0.8343 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000309/1.439, allocations: 0.5674 MB / 0.8348 GB, free: 59.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/1.443, allocations: 3.36 MB / 0.8381 GB, free: 56.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005516/1.448, allocations: 6.987 MB / 0.8449 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005992/1.454, allocations: 4.754 MB / 0.8496 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.254e-05/1.454, allocations: 36 kB / 0.8496 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.03637/1.491, allocations: 15.34 MB / 0.8646 GB, free: 31.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/1.491, allocations: 67.98 kB / 0.8646 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/1.491, allocations: 128 kB / 0.8648 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02138/1.512, allocations: 5.921 MB / 0.8706 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005146/1.517, allocations: 1.443 MB / 0.872 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02917/1.547, allocations: 24.95 MB / 0.8963 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007018/1.554, allocations: 391.3 kB / 0.8967 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/1.555, allocations: 379.9 kB / 0.8971 GB, free: 14.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (746): * Single equations (assignments): 741 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001575/1.557, allocations: 0.5902 MB / 0.8976 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.558, allocations: 398.8 kB / 0.898 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02959/1.588, allocations: 10.75 MB / 0.9085 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-05/1.588, allocations: 27.95 kB / 0.9085 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.588, allocations: 16 kB / 0.9086 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.646e-05/1.588, allocations: 11.95 kB / 0.9086 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4234/2.011, allocations: 20.14 MB / 0.9282 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/2.011, allocations: 5.344 kB / 0.9282 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/2.014, allocations: 378.9 kB / 0.9286 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0208/2.035, allocations: 4.991 MB / 0.9335 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006292/2.035, allocations: 45.88 kB / 0.9335 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02549/2.061, allocations: 20.15 MB / 0.9532 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/2.061, allocations: 7.688 kB / 0.9532 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03003/2.091, allocations: 14.5 MB / 0.9674 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/2.093, allocations: 441.5 kB / 0.9678 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/2.094, allocations: 46.41 kB / 0.9678 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/2.097, allocations: 170.8 kB / 0.968 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008171/2.098, allocations: 155.3 kB / 0.9681 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/2.098, allocations: 65.91 kB / 0.9682 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005051/2.103, allocations: 2.637 MB / 0.9708 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/2.103, allocations: 0 / 0.9708 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007507/2.111, allocations: 1.326 MB / 0.9721 GB, free: 109.1 MB / 0.5261 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 (167): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03174/2.143, allocations: 16.3 MB / 0.988 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01285/2.156, allocations: 7.858 MB / 0.9957 GB, free: 99.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.156, allocations: 0 / 0.9957 GB, free: 99.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004483/2.16, allocations: 3.079 MB / 0.9987 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/2.164, allocations: 483.7 kB / 0.9991 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/2.193, allocations: 11.39 MB / 1.01 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004415/2.197, allocations: 3.602 MB / 1.014 GB, free: 86.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005165/2.202, allocations: 1.972 MB / 1.016 GB, free: 85.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002991/2.205, allocations: 2.076 MB / 1.018 GB, free: 83.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/2.205, allocations: 0 / 1.018 GB, free: 83.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4978/2.703, allocations: 109.7 MB / 1.125 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/2.703, allocations: 187.1 kB / 1.125 GB, free: 125.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.097/7.8, allocations: 5.766 kB / 1.125 GB, free: 125.6 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat