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.001068/0.001068, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008623/0.0008623, allocations: 85.02 kB / 267 MB, free: 9.293 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.4409/0.4409, allocations: 43.46 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.576e-05/4.578e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 58.84 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5177/0.6828, allocations: 106.6 MB / 0.577 GB, free: 15.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.6832, allocations: 79.55 kB / 0.577 GB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2621/0.9453, allocations: 95.29 MB / 0.6701 GB, free: 8.676 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.9453, allocations: 0 / 0.6701 GB, free: 8.676 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003947/0.9457, allocations: 87.98 kB / 0.6702 GB, free: 8.59 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01907/0.9648, allocations: 4.612 MB / 0.6747 GB, free: 3.906 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.9649, allocations: 12.03 kB / 0.6747 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004564/0.9695, allocations: 0.9122 MB / 0.6756 GB, free: 2.969 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04344/1.013, allocations: 6.737 MB / 0.6822 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03189/1.045, allocations: 6.325 MB / 0.6883 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007904/1.046, allocations: 330 kB / 0.6887 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003506/1.049, allocations: 439.8 kB / 0.6891 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4042/1.454, allocations: 10.99 MB / 0.6998 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006825/1.454, allocations: 66.2 kB / 0.6999 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002834/1.457, allocations: 215.4 kB / 0.7001 GB, free: 93.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002654/1.46, allocations: 1.022 MB / 0.7011 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02256/1.483, allocations: 9.164 MB / 0.71 GB, free: 93.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06604/1.549, allocations: 47.68 MB / 0.7566 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/1.561, allocations: 4.104 MB / 0.7606 GB, free: 63.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/1.565, allocations: 1.786 MB / 0.7623 GB, free: 62.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/1.582, allocations: 7.502 MB / 0.7697 GB, free: 58.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/1.582, allocations: 61.56 kB / 0.7697 GB, free: 58.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 7.043e-06/1.582, allocations: 0 / 0.7697 GB, free: 58.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.09318/1.675, allocations: 25.71 MB / 0.7948 GB, free: 51.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.675, allocations: 208 kB / 0.795 GB, free: 51.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008572/1.684, allocations: 3.785 MB / 0.7987 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007797/1.685, allocations: 61.58 kB / 0.7988 GB, free: 50.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002441/1.687, allocations: 3.24 MB / 0.802 GB, free: 47.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.689, allocations: 0.874 MB / 0.8028 GB, free: 47.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/1.689, allocations: 120.9 kB / 0.8029 GB, free: 47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003244/1.69, allocations: 0.5744 MB / 0.8035 GB, free: 46.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/1.694, allocations: 3.368 MB / 0.8068 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006499/1.7, allocations: 6.985 MB / 0.8136 GB, free: 39.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006721/1.707, allocations: 4.758 MB / 0.8182 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.244e-05/1.707, allocations: 36.78 kB / 0.8183 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=823) (initialization): time 0.038/1.745, allocations: 15.34 MB / 0.8333 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/1.746, allocations: 61.84 kB / 0.8333 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/1.746, allocations: 125.8 kB / 0.8334 GB, free: 32.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02215/1.768, allocations: 5.932 MB / 0.8392 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005691/1.774, allocations: 1.435 MB / 0.8406 GB, free: 29.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03253/1.806, allocations: 24.97 MB / 0.865 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006985/1.813, allocations: 398.9 kB / 0.8654 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/1.815, allocations: 376.6 kB / 0.8658 GB, free: 6.98 MB / 0.4948 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.002715/1.818, allocations: 0.5808 MB / 0.8663 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.819, allocations: 402.8 kB / 0.8667 GB, free: 6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03012/1.85, allocations: 10.76 MB / 0.8772 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.089e-05/1.85, allocations: 30.75 kB / 0.8772 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-05/1.85, allocations: 8 kB / 0.8772 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.698e-05/1.85, allocations: 11.97 kB / 0.8773 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4245/2.274, allocations: 20.15 MB / 0.8969 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.93e-05/2.274, allocations: 5.656 kB / 0.8969 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/2.277, allocations: 386.9 kB / 0.8973 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01936/2.296, allocations: 4.985 MB / 0.9022 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007423/2.297, allocations: 48.75 kB / 0.9022 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0255/2.322, allocations: 20.13 MB / 0.9219 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/2.323, allocations: 10.91 kB / 0.9219 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0318/2.354, allocations: 14.5 MB / 0.9361 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0034/2.358, allocations: 0.9596 MB / 0.937 GB, free: 95.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001653/2.359, allocations: 44.67 kB / 0.937 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003838/2.363, allocations: 173.1 kB / 0.9372 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/2.365, allocations: 156.4 kB / 0.9374 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005576/2.365, allocations: 67.86 kB / 0.9374 GB, free: 95.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008281/2.373, allocations: 2.654 MB / 0.94 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.6e-07/2.373, allocations: 1.031 kB / 0.94 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01096/2.384, allocations: 1.328 MB / 0.9413 GB, free: 94.16 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 (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.03477/2.419, allocations: 16.3 MB / 0.9572 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01251/2.432, allocations: 7.854 MB / 0.9649 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/2.432, allocations: 7.594 kB / 0.9649 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005532/2.437, allocations: 3.065 MB / 0.9679 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/2.442, allocations: 487.2 kB / 0.9684 GB, free: 82.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03107/2.473, allocations: 11.44 MB / 0.9795 GB, free: 78.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006113/2.479, allocations: 3.617 MB / 0.9831 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006158/2.485, allocations: 1.976 MB / 0.985 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003777/2.489, allocations: 2.079 MB / 0.987 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.442e-06/2.489, allocations: 0 / 0.987 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5083/2.998, allocations: 109.9 MB / 1.094 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/2.998, allocations: 196.8 kB / 1.095 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.793/7.791, allocations: 2.297 kB / 1.095 GB, free: 90.76 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