Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",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.001364/0.001364, 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.408/1.408, 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.0008854/0.0008851, allocations: 90.62 kB / 261.8 MB, free: 1.676 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.2065/0.2065, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5835, allocations: 105.9 MB / 0.5694 GB, free: 5.461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5838, allocations: 82.67 kB / 0.5695 GB, free: 5.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2456/0.8294, allocations: 93.43 MB / 0.6608 GB, free: 156 kB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.8295, allocations: 0 / 0.6608 GB, free: 156 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002684/0.8298, allocations: 88 kB / 0.6609 GB, free: 68 kB / 458.7 MB 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.01532/0.8451, allocations: 4.62 MB / 0.6654 GB, free: 11.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.8452, allocations: 12.03 kB / 0.6654 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/0.872, allocations: 6.737 MB / 0.672 GB, free: 4.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/0.888, allocations: 6.307 MB / 0.6781 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.8883, allocations: 140 kB / 0.6782 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.8901, allocations: 259.9 kB / 0.6785 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01166/0.9018, allocations: 6.596 MB / 0.6849 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.9209, allocations: 9.574 MB / 0.6943 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/0.9212, allocations: 67.38 kB / 0.6943 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009598/0.9222, allocations: 28 kB / 0.6944 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.9236, allocations: 1.022 MB / 0.6954 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3786/1.302, allocations: 46.02 MB / 0.7403 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/1.308, allocations: 3.07 MB / 0.7433 GB, free: 90.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/1.31, allocations: 1.727 MB / 0.745 GB, free: 90.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/1.312, allocations: 1.927 MB / 0.7469 GB, free: 88.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/1.312, allocations: 61.25 kB / 0.7469 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=186): time 4.658e-06/1.312, allocations: 0 / 0.7469 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.06312/1.375, allocations: 26.25 MB / 0.7726 GB, free: 86.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/1.375, allocations: 209.4 kB / 0.7728 GB, free: 86.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/1.38, allocations: 3.29 MB / 0.776 GB, free: 84.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006036/1.381, allocations: 29.02 kB / 0.776 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/1.383, allocations: 3.29 MB / 0.7792 GB, free: 82.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001194/1.384, allocations: 0.8681 MB / 0.7801 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/1.384, allocations: 0 / 0.7801 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003664/1.385, allocations: 0.5841 MB / 0.7807 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/1.388, allocations: 3.311 MB / 0.7839 GB, free: 80.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005572/1.394, allocations: 7.059 MB / 0.7908 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005672/1.4, allocations: 4.713 MB / 0.7954 GB, free: 72.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.978e-05/1.4, allocations: 36.53 kB / 0.7954 GB, free: 72.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03689/1.437, allocations: 14.68 MB / 0.8098 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/1.437, allocations: 69.81 kB / 0.8098 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/1.437, allocations: 135.3 kB / 0.8099 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02175/1.459, allocations: 5.917 MB / 0.8157 GB, free: 67.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/1.464, allocations: 1.493 MB / 0.8172 GB, free: 66.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02616/1.491, allocations: 22.89 MB / 0.8395 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/1.497, allocations: 277.8 kB / 0.8398 GB, free: 46.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/1.498, allocations: 397.5 kB / 0.8402 GB, free: 45.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * 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 (778): * Single equations (assignments): 773 * 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.001195/1.499, allocations: 450.2 kB / 0.8406 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02579/1.525, allocations: 10.6 MB / 0.851 GB, free: 36.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.527, allocations: 371.2 kB / 0.8513 GB, free: 36.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02615/1.553, allocations: 10.56 MB / 0.8616 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.449e-05/1.553, allocations: 24 kB / 0.8617 GB, free: 25.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.553, allocations: 16.78 kB / 0.8617 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-05/1.553, allocations: 11.95 kB / 0.8617 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03887/1.592, allocations: 19.45 MB / 0.8807 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/1.592, allocations: 4 kB / 0.8807 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.594, allocations: 397.5 kB / 0.8811 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0183/1.612, allocations: 4.974 MB / 0.8859 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005553/1.613, allocations: 12 kB / 0.8859 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3601/1.973, allocations: 18.43 MB / 0.9039 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/1.973, allocations: 7.812 kB / 0.9039 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03467/2.008, allocations: 14.36 MB / 0.918 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002671/2.011, allocations: 0.9347 MB / 0.9189 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/2.012, allocations: 11.06 kB / 0.9189 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/2.014, allocations: 133.9 kB / 0.919 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/2.015, allocations: 157.3 kB / 0.9192 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/2.015, allocations: 66.31 kB / 0.9192 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00379/2.019, allocations: 2.221 MB / 0.9214 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/2.019, allocations: 0 / 0.9214 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006142/2.025, allocations: 1.17 MB / 0.9225 GB, free: 123.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 168 * 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.02813/2.053, allocations: 16.17 MB / 0.9383 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01012/2.063, allocations: 7.638 MB / 0.9458 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.063, allocations: 3.5 kB / 0.9458 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003768/2.067, allocations: 3.03 MB / 0.9488 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/2.07, allocations: 402.1 kB / 0.9491 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/2.094, allocations: 11.19 MB / 0.9601 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/2.097, allocations: 3.614 MB / 0.9636 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005215/2.103, allocations: 2.055 MB / 0.9656 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002742/2.105, allocations: 2.065 MB / 0.9676 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/2.105, allocations: 0 / 0.9676 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/2.251, allocations: 103.9 MB / 1.069 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/2.251, allocations: 166.6 kB / 1.069 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/6.326, allocations: 0 / 1.069 GB, free: 25.87 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat