Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2",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.001227/0.001227, allocations: 177.6 kB / 8.003 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.609/1.609, 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.0009016/0.0009016, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.2152/0.2152, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.854e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5468, allocations: 116.7 MB / 0.58 GB, free: 10.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5471, allocations: 76.91 kB / 0.58 GB, free: 10.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7922/1.339, allocations: 224.1 MB / 0.7989 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.572e-06/1.339, allocations: 0 / 0.7989 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006746/1.34, allocations: 278.5 kB / 0.7992 GB, free: 89.05 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4612 * Number of variables: 4612 Notification: Performance of Generate backend data structure: time 0.0546/1.395, allocations: 13.79 MB / 0.8126 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.395, allocations: 7.219 kB / 0.8126 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04572/1.44, allocations: 10.93 MB / 0.8233 GB, free: 73.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03746/1.478, allocations: 15.52 MB / 0.8385 GB, free: 57.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008944/1.479, allocations: 472 kB / 0.8389 GB, free: 57.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007284/1.486, allocations: 0.8676 MB / 0.8398 GB, free: 56.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03599/1.522, allocations: 18.11 MB / 0.8574 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06261/1.585, allocations: 26.81 MB / 0.8836 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006984/1.586, allocations: 154.6 kB / 0.8838 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004706/1.59, allocations: 72 kB / 0.8838 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00297/1.593, allocations: 2.338 MB / 0.8861 GB, free: 6.559 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4695/2.063, allocations: 125.1 MB / 1.008 GB, free: 39.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009618/2.072, allocations: 7.257 MB / 1.015 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006442/2.079, allocations: 5.628 MB / 1.021 GB, free: 33.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003948/2.083, allocations: 4.84 MB / 1.026 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/2.083, allocations: 80.92 kB / 1.026 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=435): time 9.508e-06/2.083, allocations: 0 / 1.026 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=569): time 0.6063/2.689, allocations: 99.8 MB / 1.123 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/2.689, allocations: 339.8 kB / 1.123 GB, free: 125.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01964/2.709, allocations: 7.52 MB / 1.131 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002146/2.711, allocations: 32.73 kB / 1.131 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.007263/2.719, allocations: 8.937 MB / 1.14 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003633/2.722, allocations: 2.131 MB / 1.142 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003164/2.725, allocations: 0 / 1.142 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002107/2.728, allocations: 1.007 MB / 1.143 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01444/2.742, allocations: 8.975 MB / 1.151 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02355/2.766, allocations: 18.37 MB / 1.169 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02212/2.788, allocations: 12.51 MB / 1.182 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005682/2.788, allocations: 97.69 kB / 1.182 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2148) (initialization): time 0.08422/2.873, allocations: 34.42 MB / 1.215 GB, free: 92.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000294/2.873, allocations: 148.5 kB / 1.215 GB, free: 92.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05002/2.923, allocations: 22.95 MB / 1.238 GB, free: 77.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03564/2.959, allocations: 10.86 MB / 1.248 GB, free: 70.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/2.973, allocations: 3.938 MB / 1.252 GB, free: 66.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04991/3.023, allocations: 47.21 MB / 1.298 GB, free: 17.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02049/3.044, allocations: 1.505 MB / 1.3 GB, free: 16.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005286/3.049, allocations: 0.9998 MB / 1.301 GB, free: 15.44 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1523 * Number of states: 0 () * Number of discrete variables: 78 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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.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 (1972): * Single equations (assignments): 1943 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007659/3.057, allocations: 0.931 MB / 1.302 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4603/3.517, allocations: 27.62 MB / 1.329 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003628/3.521, allocations: 0.8416 MB / 1.33 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07015/3.591, allocations: 28.39 MB / 1.357 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06508/3.656, allocations: 26.76 MB / 1.383 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.185e-05/3.656, allocations: 27.69 kB / 1.383 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002259/3.657, allocations: 28.52 kB / 1.383 GB, free: 101.1 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.119/3.776, allocations: 60.27 MB / 1.442 GB, free: 62.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.727e-05/3.776, allocations: 8 kB / 1.442 GB, free: 62.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005591/3.781, allocations: 1.019 MB / 1.443 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04875/3.83, allocations: 15.58 MB / 1.458 GB, free: 45.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001862/3.832, allocations: 101.5 kB / 1.459 GB, free: 45.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07261/3.905, allocations: 61.49 MB / 1.519 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4036/4.308, allocations: 23.43 MB / 1.542 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07487/4.383, allocations: 40.51 MB / 1.581 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/4.386, allocations: 0.895 MB / 1.582 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003567/4.39, allocations: 46.19 kB / 1.582 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01014/4.4, allocations: 0.8156 MB / 1.583 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002824/4.403, allocations: 452.8 kB / 1.583 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001444/4.404, allocations: 185.3 kB / 1.583 GB, free: 117.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01021/4.414, allocations: 5.004 MB / 1.588 GB, free: 115.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/4.414, allocations: 3.906 kB / 1.588 GB, free: 115.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01954/4.434, allocations: 4.276 MB / 1.592 GB, free: 115.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET8.x[2],$STATESET8.x[1],$STATESET7.x[5],$STATESET7.x[4],$STATESET7.x[3],$STATESET7.x[2],$STATESET7.x[1],$STATESET6.x[6],$STATESET6.x[5],$STATESET6.x[4],$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.07731/4.511, allocations: 41.78 MB / 1.633 GB, free: 98.15 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03368/4.545, allocations: 22.78 MB / 1.656 GB, free: 78.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/4.545, allocations: 7.5 kB / 1.656 GB, free: 78.12 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01786/4.563, allocations: 11.36 MB / 1.667 GB, free: 68.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008841/4.572, allocations: 1.115 MB / 1.668 GB, free: 67.21 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08812/4.66, allocations: 35.56 MB / 1.702 GB, free: 36.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01862/4.679, allocations: 9.434 MB / 1.712 GB, free: 27.25 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0189/4.697, allocations: 5.108 MB / 1.717 GB, free: 22.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01335/4.711, allocations: 6.418 MB / 1.723 GB, free: 15.75 MB / 0.573 GB Notification: Performance of SimCode: time 1.312e-06/4.711, allocations: 0 / 1.723 GB, free: 15.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.131/5.842, allocations: 288.2 MB / 2.004 GB, free: 108 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/5.842, allocations: 146.7 kB / 2.004 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/16.24, allocations: 3.797 kB / 2.004 GB, free: 107.8 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_SphericalSpherical2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat