Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",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.001572/0.001572, allocations: 185.3 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 93.48 kB / 270.9 MB, free: 8.371 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.5885/0.5885, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.000503, allocations: 8 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.6203, allocations: 105.4 MB / 0.5818 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6207, allocations: 75.97 kB / 0.5818 GB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4052/1.026, allocations: 91.61 MB / 0.6713 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.026, allocations: 4 kB / 0.6713 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002145/1.026, allocations: 72 kB / 0.6714 GB, free: 0.6953 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.3499/1.376, allocations: 4.132 MB / 0.6754 GB, free: 93.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.376, allocations: 8.344 kB / 0.6754 GB, free: 93.16 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004849/1.381, allocations: 0.841 MB / 0.6762 GB, free: 93.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/1.409, allocations: 3.548 MB / 0.6797 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/1.427, allocations: 4.463 MB / 0.6841 GB, free: 92.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007056/1.428, allocations: 322.3 kB / 0.6844 GB, free: 92.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003358/1.431, allocations: 432.2 kB / 0.6848 GB, free: 92.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0355/1.467, allocations: 10.94 MB / 0.6955 GB, free: 91.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/1.467, allocations: 31.19 kB / 0.6955 GB, free: 91.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002734/1.47, allocations: 197 kB / 0.6957 GB, free: 91.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003014/1.473, allocations: 1.255 MB / 0.6969 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03272/1.506, allocations: 10.48 MB / 0.7071 GB, free: 91.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08337/1.589, allocations: 37.84 MB / 0.7441 GB, free: 69.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.604, allocations: 4.589 MB / 0.7486 GB, free: 67.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/1.605, allocations: 1.316 MB / 0.7499 GB, free: 66.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/1.605, allocations: 59.19 kB / 0.7499 GB, free: 66.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 6.412e-06/1.605, allocations: 0 / 0.7499 GB, free: 66.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.0671/1.673, allocations: 17.93 MB / 0.7674 GB, free: 60.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/1.673, allocations: 75.31 kB / 0.7675 GB, free: 60.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/1.678, allocations: 2.496 MB / 0.7699 GB, free: 59.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005394/1.678, allocations: 60.17 kB / 0.77 GB, free: 59.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.68, allocations: 2.833 MB / 0.7728 GB, free: 57.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.682, allocations: 0.924 MB / 0.7737 GB, free: 56.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007102/1.683, allocations: 106 kB / 0.7738 GB, free: 56.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003976/1.683, allocations: 0.5483 MB / 0.7743 GB, free: 55.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005533/1.689, allocations: 2.291 MB / 0.7765 GB, free: 55.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009238/1.698, allocations: 5.251 MB / 0.7817 GB, free: 50.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/1.706, allocations: 3.477 MB / 0.7851 GB, free: 49.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.57e-05/1.706, allocations: 29.34 kB / 0.7851 GB, free: 49.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.0223/1.728, allocations: 8.23 MB / 0.7931 GB, free: 42.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/1.728, allocations: 56.33 kB / 0.7932 GB, free: 42.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/1.728, allocations: 108.1 kB / 0.7933 GB, free: 42.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004829/1.733, allocations: 0.9458 MB / 0.7942 GB, free: 41.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007854/1.741, allocations: 1.243 MB / 0.7954 GB, free: 40.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/1.752, allocations: 4.854 MB / 0.8002 GB, free: 36.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005736/1.757, allocations: 302.8 kB / 0.8004 GB, free: 35.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.759, allocations: 311.9 kB / 0.8007 GB, free: 35.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 33 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (664): * Single equations (assignments): 657 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006021/1.765, allocations: 2.199 MB / 0.8029 GB, free: 33.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007508/1.766, allocations: 280.3 kB / 0.8032 GB, free: 33.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.781, allocations: 5.105 MB / 0.8081 GB, free: 29.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/1.781, allocations: 40 kB / 0.8082 GB, free: 29.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.781, allocations: 4 kB / 0.8082 GB, free: 29.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-05/1.781, allocations: 11.72 kB / 0.8082 GB, free: 29.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03402/1.815, allocations: 11.98 MB / 0.8199 GB, free: 19.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.993e-05/1.815, allocations: 12 kB / 0.8199 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/1.819, allocations: 398.6 kB / 0.8203 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004411/1.823, allocations: 0.7722 MB / 0.821 GB, free: 18.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005826/1.824, allocations: 51.05 kB / 0.8211 GB, free: 18.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008716/1.833, allocations: 4.156 MB / 0.8251 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/1.833, allocations: 15.94 kB / 0.8252 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/1.851, allocations: 8.442 MB / 0.8334 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/1.854, allocations: 0.6886 MB / 0.8341 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.855, allocations: 47.95 kB / 0.8341 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.858, allocations: 150.1 kB / 0.8343 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008128/1.859, allocations: 148.9 kB / 0.8344 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/1.859, allocations: 75.98 kB / 0.8345 GB, free: 5.172 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004033/1.863, allocations: 1.706 MB / 0.8361 GB, free: 3.461 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.863, allocations: 0 / 0.8361 GB, free: 3.461 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006922/1.87, allocations: 1.007 MB / 0.8371 GB, free: 2.461 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02346/1.893, allocations: 11.63 MB / 0.8485 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01518/1.909, allocations: 5.6 MB / 0.854 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/1.909, allocations: 4 kB / 0.854 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005811/1.915, allocations: 2.15 MB / 0.8561 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.918, allocations: 352.7 kB / 0.8564 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5473/2.465, allocations: 103.3 MB / 0.9573 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008234/2.473, allocations: 3.534 MB / 0.9607 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005323/2.479, allocations: 1.929 MB / 0.9626 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/2.479, allocations: 0 / 0.9626 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.19/6.669, allocations: 98.6 MB / 1.059 GB, free: 13.8 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat