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.001174/0.001174, allocations: 181.5 kB / 17.06 MB, free: 5.094 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.39/1.39, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009564, allocations: 89.92 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.374/0.374, allocations: 44.23 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004284, allocations: 11.98 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4151, allocations: 61.89 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.5481, allocations: 99.89 MB / 0.6072 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.5483, allocations: 83.92 kB / 0.6073 GB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05441/0.6027, allocations: 20.9 MB / 0.6277 GB, free: 6.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6028, allocations: 0 / 0.6277 GB, free: 6.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.664e-05/0.6028, allocations: 20 kB / 0.6277 GB, free: 6.102 MB / 442.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.002889/0.6057, allocations: 1.474 MB / 0.6291 GB, free: 4.574 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6058, allocations: 8.031 kB / 0.6291 GB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002957/0.6061, allocations: 202.2 kB / 0.6293 GB, free: 4.359 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.607, allocations: 202.3 kB / 0.6295 GB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.6084, allocations: 0.7205 MB / 0.6302 GB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.6085, allocations: 78 kB / 0.6303 GB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.6087, allocations: 104 kB / 0.6304 GB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005125/0.6138, allocations: 2.689 MB / 0.633 GB, free: 360 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.6139, allocations: 7.938 kB / 0.633 GB, free: 352 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.614, allocations: 43.98 kB / 0.6331 GB, free: 308 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002691/0.6143, allocations: 205.8 kB / 0.6333 GB, free: 104 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0053/0.6196, allocations: 2.412 MB / 0.6356 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.6298, allocations: 8.626 MB / 0.6441 GB, free: 4.789 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/0.6334, allocations: 1.006 MB / 0.645 GB, free: 3.773 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.6348, allocations: 1.742 MB / 0.6467 GB, free: 1.754 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.6349, allocations: 38.59 kB / 0.6468 GB, free: 1.707 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 2.514e-06/0.6349, allocations: 0 / 0.6468 GB, free: 1.707 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01093/0.6458, allocations: 3.028 MB / 0.6497 GB, free: 14.67 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.6459, allocations: 63.91 kB / 0.6498 GB, free: 14.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.647, allocations: 0.8044 MB / 0.6506 GB, free: 13.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.647, allocations: 37.7 kB / 0.6506 GB, free: 13.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.6474, allocations: 0.6564 MB / 0.6513 GB, free: 13.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.6476, allocations: 217.1 kB / 0.6515 GB, free: 12.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.6476, allocations: 24 kB / 0.6515 GB, free: 12.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6478, allocations: 402.7 kB / 0.6519 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.6483, allocations: 362.4 kB / 0.6522 GB, free: 12.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009479/0.6493, allocations: 0.9836 MB / 0.6532 GB, free: 10.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.65, allocations: 0.5758 MB / 0.6537 GB, free: 10.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.6501, allocations: 8 kB / 0.6538 GB, free: 10.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00185/0.6519, allocations: 1.381 MB / 0.6551 GB, free: 8.809 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.652, allocations: 16.19 kB / 0.6551 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.652, allocations: 28 kB / 0.6551 GB, free: 8.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.932e-05/0.652, allocations: 32 kB / 0.6552 GB, free: 8.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6532, allocations: 323.4 kB / 0.6555 GB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009812/0.6542, allocations: 1.368 MB / 0.6568 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.6549, allocations: 55.89 kB / 0.6569 GB, free: 6.867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.655, allocations: 71.95 kB / 0.6569 GB, free: 6.797 MB / 474.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 () * Number of clocked 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.0006942/0.6557, allocations: 0.4896 MB / 0.6574 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.6558, allocations: 82.97 kB / 0.6575 GB, free: 6.215 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.656, allocations: 116.7 kB / 0.6576 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.656, allocations: 4 kB / 0.6576 GB, free: 6.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.656, allocations: 0 / 0.6576 GB, free: 6.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.656, allocations: 11.86 kB / 0.6576 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.6595, allocations: 2.164 MB / 0.6597 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6595, allocations: 8 kB / 0.6597 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.6601, allocations: 131.8 kB / 0.6599 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.6601, allocations: 8 kB / 0.6599 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.6601, allocations: 24 kB / 0.6599 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009287/0.6611, allocations: 1.338 MB / 0.6612 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.6611, allocations: 8 kB / 0.6612 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.6622, allocations: 1.133 MB / 0.6623 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.6625, allocations: 168 kB / 0.6625 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.6626, allocations: 20 kB / 0.6625 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.6629, allocations: 16 kB / 0.6625 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.663, allocations: 63.78 kB / 0.6626 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.663, allocations: 20 kB / 0.6626 GB, free: 444 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007965/0.6638, allocations: 0.5887 MB / 0.6632 GB, free: 15.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6638, allocations: 0 / 0.6632 GB, free: 15.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6649, allocations: 220 kB / 0.6634 GB, free: 15.64 MB / 490.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 () * Number of clocked 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.002306/0.6672, allocations: 3.477 MB / 0.6668 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.669, allocations: 0.8584 MB / 0.6676 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.669, allocations: 0.9375 kB / 0.6676 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.6694, allocations: 275.5 kB / 0.6679 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.6701, allocations: 108.8 kB / 0.668 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2527/0.9228, allocations: 21.46 MB / 0.6889 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.9236, allocations: 1.248 MB / 0.6902 GB, free: 115.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008572/0.9245, allocations: 341.5 kB / 0.6905 GB, free: 115.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.9249, allocations: 401.7 kB / 0.6909 GB, free: 115.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9249, allocations: 0 / 0.6909 GB, free: 115.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.9629, allocations: 17 MB / 0.7075 GB, free: 114.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/0.9632, allocations: 179.8 kB / 0.7076 GB, free: 114 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.41, allocations: 1.438 kB / 0.7076 GB, free: 114 MB / 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