Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.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.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_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.001883/0.001883, allocations: 180.5 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.454/1.454, allocations: 221.3 MB / 236 MB, free: 2.992 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.001171/0.001172, allocations: 91.66 kB / 287 MB, free: 264 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.198/0.198, allocations: 44.16 MB / 382.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.607e-05, allocations: 4.219 kB / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 61.91 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5867, allocations: 99.82 MB / 0.5993 GB, free: 5.434 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.587, allocations: 83.88 kB / 0.5994 GB, free: 5.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05578/0.6428, allocations: 20.87 MB / 0.6197 GB, free: 380 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6428, allocations: 4 kB / 0.6197 GB, free: 376 kB / 426.7 MB Notification: Performance of Transformations before backend: time 5.652e-05/0.6429, allocations: 23.98 kB / 0.6198 GB, free: 352 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002677/0.6456, allocations: 1.386 MB / 0.6211 GB, free: 14.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6457, allocations: 8.031 kB / 0.6211 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.6459, allocations: 190.3 kB / 0.6213 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.6469, allocations: 206.3 kB / 0.6215 GB, free: 14.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.6483, allocations: 0.7088 MB / 0.6222 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.6483, allocations: 86 kB / 0.6223 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.6485, allocations: 108 kB / 0.6224 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005281/0.6538, allocations: 2.662 MB / 0.625 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.6539, allocations: 11.88 kB / 0.625 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.654, allocations: 43.98 kB / 0.625 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002737/0.6543, allocations: 209.8 kB / 0.6252 GB, free: 10.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005173/0.6595, allocations: 2.385 MB / 0.6276 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008953/0.6684, allocations: 8.621 MB / 0.636 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003921/0.6724, allocations: 1.003 MB / 0.637 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.6728, allocations: 249.5 kB / 0.6372 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.6744, allocations: 1.742 MB / 0.6389 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.6744, allocations: 42.52 kB / 0.6389 GB, free: 11.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 3.787e-06/0.6744, allocations: 4 kB / 0.6389 GB, free: 11.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01088/0.6853, allocations: 2.692 MB / 0.6416 GB, free: 9.141 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6854, allocations: 59.97 kB / 0.6416 GB, free: 9.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.6865, allocations: 0.7929 MB / 0.6424 GB, free: 8.273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.6865, allocations: 33.7 kB / 0.6424 GB, free: 8.234 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.687, allocations: 0.6642 MB / 0.6431 GB, free: 7.559 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.6872, allocations: 209.1 kB / 0.6433 GB, free: 7.352 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.6872, allocations: 24 kB / 0.6433 GB, free: 7.328 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.6875, allocations: 410.7 kB / 0.6437 GB, free: 6.918 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.688, allocations: 350.5 kB / 0.644 GB, free: 6.574 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.689, allocations: 0.9836 MB / 0.645 GB, free: 5.281 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.6898, allocations: 0.5691 MB / 0.6455 GB, free: 4.715 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.6898, allocations: 8 kB / 0.6456 GB, free: 4.707 MB / 458.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002173/0.692, allocations: 1.369 MB / 0.6469 GB, free: 3.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.6921, allocations: 17.56 kB / 0.6469 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.6921, allocations: 20 kB / 0.6469 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.595e-05/0.6922, allocations: 39.98 kB / 0.647 GB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.6935, allocations: 319.5 kB / 0.6473 GB, free: 2.941 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.6947, allocations: 1.369 MB / 0.6486 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/0.6955, allocations: 59.84 kB / 0.6487 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.6956, allocations: 72.09 kB / 0.6487 GB, free: 1.316 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[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],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002231/0.6959, allocations: 215.5 kB / 0.6489 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.696, allocations: 82.97 kB / 0.649 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.6963, allocations: 116.7 kB / 0.6491 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.6963, allocations: 4 kB / 0.6491 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6963, allocations: 0 / 0.6491 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6963, allocations: 0 / 0.6491 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.6999, allocations: 2.144 MB / 0.6512 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.7, allocations: 11.94 kB / 0.6512 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.7005, allocations: 127.8 kB / 0.6514 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.7005, allocations: 8 kB / 0.6514 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.7006, allocations: 16 kB / 0.6514 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009107/0.7015, allocations: 1.337 MB / 0.6527 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.7015, allocations: 8 kB / 0.6527 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.7027, allocations: 1.135 MB / 0.6538 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.7029, allocations: 164 kB / 0.654 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.703, allocations: 16 kB / 0.654 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.7033, allocations: 16 kB / 0.654 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.7034, allocations: 67.72 kB / 0.6541 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.7034, allocations: 24 kB / 0.6541 GB, free: 11.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007614/0.7042, allocations: 0.5811 MB / 0.6546 GB, free: 10.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7042, allocations: 3.938 kB / 0.6547 GB, free: 10.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001034/0.7053, allocations: 220 kB / 0.6549 GB, free: 10.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002319/0.7076, allocations: 3.472 MB / 0.6583 GB, free: 6.797 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.709, allocations: 0.8439 MB / 0.6591 GB, free: 5.957 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.709, allocations: 4.188 kB / 0.6591 GB, free: 5.953 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.7094, allocations: 277.1 kB / 0.6593 GB, free: 5.684 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.71, allocations: 124.6 kB / 0.6595 GB, free: 5.562 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.7137, allocations: 1.937 MB / 0.6614 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/0.7146, allocations: 1.248 MB / 0.6626 GB, free: 2.227 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009132/0.7156, allocations: 343.6 kB / 0.6629 GB, free: 1.887 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.7161, allocations: 403.3 kB / 0.6633 GB, free: 1.492 MB / 474.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7161, allocations: 3.938 kB / 0.6633 GB, free: 1.488 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.7526, allocations: 16.97 MB / 0.6799 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.7528, allocations: 156.6 kB / 0.68 GB, free: 440 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.21, allocations: 0 / 0.68 GB, free: 440 kB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_SphericalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat