Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 99.34 kB / 17 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 182.5 kB / 17.89 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1954/0.1954, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02188/0.1433, allocations: 23.15 MB / 494.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.1552, allocations: 5.972 MB / 0.489 GB, free: 436 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.1585, allocations: 99.81 kB / 0.4891 GB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.1615, allocations: 1.085 MB / 0.4902 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008763/0.1703, allocations: 3.515 MB / 0.4936 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.172, allocations: 463.2 kB / 0.4941 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005725/0.1777, allocations: 4.156 MB / 0.4981 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00334/0.1811, allocations: 2.147 MB / 0.5002 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.1828, allocations: 1.008 MB / 0.5012 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.1852, allocations: 1.659 MB / 0.5028 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.1856, allocations: 124 kB / 0.5029 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.1878, allocations: 1.069 MB / 0.504 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2625/0.4503, allocations: 1.473 MB / 0.5054 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.4515, allocations: 0.7346 MB / 0.5061 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00686/0.4584, allocations: 4.715 MB / 0.5107 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.4584, allocations: 0 / 0.5107 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4585, allocations: 0 / 0.5107 GB, free: 13.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001886/0.4586, allocations: 0 / 0.5107 GB, free: 13.9 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.009806/0.4685, allocations: 3.452 MB / 0.5141 GB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4685, allocations: 8.969 kB / 0.5141 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002574/0.4711, allocations: 0.6873 MB / 0.5148 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/0.4894, allocations: 5.8 MB / 0.5205 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/0.4967, allocations: 2.776 MB / 0.5232 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.4971, allocations: 175.8 kB / 0.5233 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.4991, allocations: 310.5 kB / 0.5236 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/0.5188, allocations: 10.71 MB / 0.5341 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/0.519, allocations: 30.78 kB / 0.5341 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/0.5194, allocations: 111.7 kB / 0.5342 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003156/0.5225, allocations: 2.466 MB / 0.5366 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.5404, allocations: 10.14 MB / 0.5465 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.052/0.5924, allocations: 35.66 MB / 0.5814 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.6042, allocations: 5.593 MB / 0.5868 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/0.6076, allocations: 2.327 MB / 0.5891 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.6093, allocations: 1.873 MB / 0.5909 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6094, allocations: 52.56 kB / 0.591 GB, free: 6.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 5.24e-06/0.6094, allocations: 0 / 0.591 GB, free: 6.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.03434/0.6437, allocations: 14.94 MB / 0.6056 GB, free: 7.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001248/0.645, allocations: 1.518 MB / 0.6071 GB, free: 5.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/0.6491, allocations: 2.797 MB / 0.6098 GB, free: 2.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005114/0.6496, allocations: 57.64 kB / 0.6098 GB, free: 2.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.6514, allocations: 2.678 MB / 0.6125 GB, free: 28 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001141/0.6526, allocations: 0.8472 MB / 0.6133 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.6529, allocations: 104 kB / 0.6134 GB, free: 15.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003568/0.6532, allocations: 0.5455 MB / 0.6139 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/0.6573, allocations: 2.607 MB / 0.6165 GB, free: 11.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00614/0.6634, allocations: 5.613 MB / 0.6219 GB, free: 4.883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006002/0.6695, allocations: 3.799 MB / 0.6257 GB, free: 1.176 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.722e-05/0.6695, allocations: 28 kB / 0.6257 GB, free: 1.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05688/0.7264, allocations: 18.98 MB / 0.6442 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.7266, allocations: 51.98 kB / 0.6443 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03894/0.7655, allocations: 12 MB / 0.656 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04024/0.8058, allocations: 10.29 MB / 0.666 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005122/0.811, allocations: 1.301 MB / 0.6673 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02663/0.8376, allocations: 16.03 MB / 0.683 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/0.8426, allocations: 438.9 kB / 0.6834 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/0.8437, allocations: 323.8 kB / 0.6837 GB, free: 6.227 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005414/0.8492, allocations: 2.012 MB / 0.6857 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006701/0.8498, allocations: 268.4 kB / 0.6859 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00889/0.8587, allocations: 5.109 MB / 0.6909 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00736/0.8661, allocations: 4.393 MB / 0.6952 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.8661, allocations: 0 / 0.6952 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.8662, allocations: 9.609 kB / 0.6952 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.307/1.173, allocations: 12.91 MB / 0.7078 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/1.173, allocations: 7 kB / 0.7078 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/1.175, allocations: 461.1 kB / 0.7083 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/1.178, allocations: 0.9436 MB / 0.7092 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004446/1.178, allocations: 54.86 kB / 0.7092 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005964/1.184, allocations: 5.452 MB / 0.7146 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008101/1.185, allocations: 1.465 MB / 0.716 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.199, allocations: 7.706 MB / 0.7235 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.201, allocations: 332.8 kB / 0.7238 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000727/1.201, allocations: 45.47 kB / 0.7239 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/1.203, allocations: 198.1 kB / 0.7241 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000492/1.204, allocations: 139.8 kB / 0.7242 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/1.204, allocations: 69.78 kB / 0.7243 GB, free: 184.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004126/1.208, allocations: 1.701 MB / 0.7259 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/1.208, allocations: 0 / 0.7259 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007504/1.216, allocations: 1.102 MB / 0.727 GB, free: 184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0186/1.234, allocations: 8.376 MB / 0.7352 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01405/1.249, allocations: 6.553 MB / 0.7416 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.249, allocations: 5.938 kB / 0.7416 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003617/1.252, allocations: 2.525 MB / 0.744 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/1.256, allocations: 367.9 kB / 0.7444 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08053/1.336, allocations: 39.71 MB / 0.7832 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004819/1.341, allocations: 3.167 MB / 0.7863 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004407/1.345, allocations: 2.056 MB / 0.7883 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/1.348, allocations: 1.675 MB / 0.7899 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.223e-06/1.348, allocations: 0 / 0.7899 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1995/1.548, allocations: 79.29 MB / 0.8673 GB, free: 43.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/1.548, allocations: 212 kB / 0.8675 GB, free: 43.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/4.987, allocations: 0 / 0.8675 GB, free: 43.45 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat does not exist to compare? outputFormat=mat