Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",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.0007705/0.0007705, allocations: 95.2 kB / 17 MB, free: 6.355 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.0007654/0.0007654, allocations: 184.2 kB / 17.89 MB, free: 5.926 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.292/1.292, allocations: 223.2 MB / 241.9 MB, free: 124 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.1837/0.1837, allocations: 44.23 MB / 337.2 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002989, allocations: 9.906 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03545/0.1452, allocations: 37.45 MB / 0.4972 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2514/0.3967, allocations: 8.346 MB / 0.5053 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006152/0.4028, allocations: 169.4 kB / 0.5055 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005109/0.408, allocations: 1.866 MB / 0.5073 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.4225, allocations: 5.578 MB / 0.5127 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.4248, allocations: 475 kB / 0.5132 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006305/0.4311, allocations: 4.403 MB / 0.5175 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005351/0.4365, allocations: 3.194 MB / 0.5206 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.4392, allocations: 1.184 MB / 0.5218 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/0.4429, allocations: 1.891 MB / 0.5236 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006732/0.4436, allocations: 154.3 kB / 0.5238 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.446, allocations: 0.7894 MB / 0.5245 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.4477, allocations: 1.68 MB / 0.5262 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.449, allocations: 0.8733 MB / 0.527 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005682/0.4547, allocations: 5.603 MB / 0.5325 GB, free: 4.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4547, allocations: 6.625 kB / 0.5325 GB, free: 4.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4548, allocations: 0 / 0.5325 GB, free: 4.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001789/0.4549, allocations: 0 / 0.5325 GB, free: 4.023 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.00677/0.4617, allocations: 4.058 MB / 0.5365 GB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4618, allocations: 7.531 kB / 0.5365 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/0.4629, allocations: 0.8151 MB / 0.5373 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4732, allocations: 3.312 MB / 0.5405 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/0.4794, allocations: 2.458 MB / 0.5429 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.4796, allocations: 236.9 kB / 0.5431 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009576/0.4806, allocations: 314.2 kB / 0.5434 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.5029, allocations: 12.06 MB / 0.5552 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.5031, allocations: 41.34 kB / 0.5553 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004119/0.5035, allocations: 148.5 kB / 0.5554 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004586/0.5081, allocations: 2.833 MB / 0.5582 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/0.5308, allocations: 11.32 MB / 0.5692 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06566/0.5965, allocations: 41.27 MB / 0.6095 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.6092, allocations: 6.058 MB / 0.6154 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005296/0.6146, allocations: 3.001 MB / 0.6184 GB, free: 7.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.6165, allocations: 1.886 MB / 0.6202 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.6166, allocations: 52.56 kB / 0.6203 GB, free: 4.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 8.486e-06/0.6166, allocations: 4 kB / 0.6203 GB, free: 4.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.04824/0.6648, allocations: 20.06 MB / 0.6399 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.665, allocations: 81.41 kB / 0.6399 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004643/0.6696, allocations: 3.019 MB / 0.6429 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006308/0.6703, allocations: 61.7 kB / 0.6429 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.6725, allocations: 2.989 MB / 0.6459 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.6742, allocations: 1.017 MB / 0.6468 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.6746, allocations: 116 kB / 0.647 GB, free: 9.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004103/0.675, allocations: 0.5583 MB / 0.6475 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/0.6793, allocations: 2.819 MB / 0.6503 GB, free: 5.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006864/0.6862, allocations: 5.999 MB / 0.6561 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/0.6933, allocations: 4.102 MB / 0.6601 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.6935, allocations: 32 kB / 0.6602 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0192/0.7127, allocations: 9.971 MB / 0.6699 GB, free: 352 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.7129, allocations: 53.64 kB / 0.6699 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/0.7131, allocations: 116.1 kB / 0.6701 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/0.7167, allocations: 1.361 MB / 0.6714 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005161/0.7219, allocations: 1.376 MB / 0.6727 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.7324, allocations: 7.478 MB / 0.68 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005088/0.7375, allocations: 375.7 kB / 0.6804 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/0.7389, allocations: 344 kB / 0.6807 GB, free: 5.125 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005726/0.7447, allocations: 2.295 MB / 0.683 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009055/0.7456, allocations: 300.1 kB / 0.6832 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.759, allocations: 6.613 MB / 0.6897 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.825e-05/0.7591, allocations: 51.34 kB / 0.6897 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/0.7592, allocations: 8 kB / 0.6898 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.09e-05/0.7592, allocations: 11.97 kB / 0.6898 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2812/1.04, allocations: 13.99 MB / 0.7034 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/1.041, allocations: 7.188 kB / 0.7034 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.043, allocations: 461.2 kB / 0.7039 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/1.046, allocations: 1.207 MB / 0.7051 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005348/1.047, allocations: 50.12 kB / 0.7051 GB, free: 182 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008742/1.055, allocations: 6.504 MB / 0.7115 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.042e-05/1.055, allocations: 16.41 kB / 0.7115 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/1.072, allocations: 9.832 MB / 0.7211 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009483/1.073, allocations: 355.6 kB / 0.7214 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/1.073, allocations: 54.27 kB / 0.7215 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.075, allocations: 194.1 kB / 0.7216 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/1.075, allocations: 160.7 kB / 0.7218 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.075, allocations: 73.61 kB / 0.7219 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002623/1.078, allocations: 1.85 MB / 0.7237 GB, free: 176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.078, allocations: 0 / 0.7237 GB, free: 176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004477/1.083, allocations: 1.124 MB / 0.7248 GB, free: 175.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01247/1.095, allocations: 10.5 MB / 0.735 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008768/1.104, allocations: 6.85 MB / 0.7417 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.104, allocations: 2.156 kB / 0.7417 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003342/1.107, allocations: 2.848 MB / 0.7445 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/1.109, allocations: 411 kB / 0.7449 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04826/1.158, allocations: 36.28 MB / 0.7803 GB, free: 127 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004105/1.162, allocations: 3.571 MB / 0.7838 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004239/1.166, allocations: 2.2 MB / 0.786 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/1.169, allocations: 2.077 MB / 0.788 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/1.169, allocations: 4 kB / 0.788 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3062/1.475, allocations: 79.16 MB / 0.8653 GB, free: 40.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/1.475, allocations: 200.3 kB / 0.8655 GB, free: 40.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.355/5.83, allocations: 0 / 0.8655 GB, free: 40.12 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat