Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",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.002301/0.002301, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.137/2.137, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001175/0.001174, allocations: 78.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.288/0.288, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.712e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 58.87 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5418/0.6651, allocations: 104.6 MB / 0.575 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6654, allocations: 78.2 kB / 0.5751 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1999/0.8653, allocations: 34.67 MB / 0.609 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.8654, allocations: 0 / 0.609 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001956/0.8656, allocations: 36 kB / 0.609 GB, free: 0.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.009001/0.8746, allocations: 1.696 MB / 0.6106 GB, free: 14.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.388e-05/0.8747, allocations: 15.97 kB / 0.6107 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001446/0.8762, allocations: 248.5 kB / 0.6109 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005893/0.8822, allocations: 415 kB / 0.6113 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/0.9016, allocations: 2.939 MB / 0.6142 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/0.9019, allocations: 113.4 kB / 0.6143 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.903, allocations: 144.4 kB / 0.6144 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.9213, allocations: 3.016 MB / 0.6174 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.9215, allocations: 15.28 kB / 0.6174 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007418/0.9223, allocations: 64.11 kB / 0.6174 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001291/0.9236, allocations: 285.3 kB / 0.6177 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.9372, allocations: 2.177 MB / 0.6198 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03347/0.9707, allocations: 11.59 MB / 0.6311 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.9817, allocations: 1.189 MB / 0.6323 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.9834, allocations: 392.5 kB / 0.6327 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.9938, allocations: 3.032 MB / 0.6356 GB, free: 8.371 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.9939, allocations: 43 kB / 0.6357 GB, free: 8.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 5.11e-06/0.994, allocations: 0 / 0.6357 GB, free: 8.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.02983/1.024, allocations: 3.393 MB / 0.639 GB, free: 4.828 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/1.024, allocations: 81.67 kB / 0.6391 GB, free: 4.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003821/1.028, allocations: 1.065 MB / 0.6401 GB, free: 3.652 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/1.028, allocations: 41.69 kB / 0.6402 GB, free: 3.605 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/1.029, allocations: 0.9496 MB / 0.6411 GB, free: 2.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000465/1.03, allocations: 221 kB / 0.6413 GB, free: 2.426 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/1.03, allocations: 28 kB / 0.6413 GB, free: 2.398 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003258/1.031, allocations: 374.8 kB / 0.6417 GB, free: 2.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/1.032, allocations: 399.8 kB / 0.6421 GB, free: 1.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/1.035, allocations: 1.229 MB / 0.6433 GB, free: 15.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/1.038, allocations: 0.6728 MB / 0.6439 GB, free: 15.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.892e-05/1.038, allocations: 8 kB / 0.6439 GB, free: 15.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.007422/1.046, allocations: 1.625 MB / 0.6455 GB, free: 13.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/1.046, allocations: 19.95 kB / 0.6455 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.127e-05/1.046, allocations: 32 kB / 0.6456 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/1.046, allocations: 89.64 kB / 0.6456 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/1.05, allocations: 371.3 kB / 0.646 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/1.053, allocations: 1.69 MB / 0.6477 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/1.056, allocations: 71.98 kB / 0.6477 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/1.056, allocations: 84 kB / 0.6478 GB, free: 11.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006262/1.057, allocations: 243.3 kB / 0.648 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/1.057, allocations: 118.5 kB / 0.6481 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/1.061, allocations: 0.699 MB / 0.6488 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/1.061, allocations: 11.94 kB / 0.6488 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.061, allocations: 0 / 0.6488 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/1.061, allocations: 3.984 kB / 0.6488 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009261/1.07, allocations: 2.243 MB / 0.651 GB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.07, allocations: 8.031 kB / 0.651 GB, free: 7.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.071, allocations: 99.88 kB / 0.6511 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/1.072, allocations: 60.83 kB / 0.6512 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.072, allocations: 19.98 kB / 0.6512 GB, free: 7.547 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003517/1.075, allocations: 1.745 MB / 0.6529 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/1.075, allocations: 4 kB / 0.6529 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/1.079, allocations: 1.286 MB / 0.6542 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.081, allocations: 227.5 kB / 0.6544 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/1.081, allocations: 12 kB / 0.6544 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.082, allocations: 32.05 kB / 0.6544 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.082, allocations: 43.84 kB / 0.6545 GB, free: 3.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/1.082, allocations: 23.98 kB / 0.6545 GB, free: 3.883 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003079/1.086, allocations: 0.7539 MB / 0.6552 GB, free: 3.121 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.283e-06/1.086, allocations: 0 / 0.6552 GB, free: 3.121 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003668/1.089, allocations: 319.9 kB / 0.6555 GB, free: 2.809 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * 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 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005258/1.095, allocations: 2.934 MB / 0.6584 GB, free: 15.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004244/1.099, allocations: 1.066 MB / 0.6594 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.099, allocations: 7.938 kB / 0.6595 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/1.1, allocations: 391 kB / 0.6598 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/1.103, allocations: 180.4 kB / 0.66 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.116, allocations: 2.762 MB / 0.6627 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003398/1.12, allocations: 1.486 MB / 0.6641 GB, free: 9.703 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001993/1.122, allocations: 0.5813 MB / 0.6647 GB, free: 9.121 MB / 474.7 MB Notification: Performance of SimCode: time 1.754e-06/1.122, allocations: 0 / 0.6647 GB, free: 9.121 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.163/4.285, allocations: 29.6 MB / 0.6936 GB, free: 11.5 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat