Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 104.3 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3906/0.3906, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 16 kB / 460 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4126, allocations: 61.9 MB / 0.5096 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5596, allocations: 106.5 MB / 0.6136 GB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.5599, allocations: 83.94 kB / 0.6137 GB, free: 4.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09567/0.6556, allocations: 34.99 MB / 0.6479 GB, free: 1.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6556, allocations: 3.938 kB / 0.6479 GB, free: 1.406 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.6557, allocations: 31.98 kB / 0.6479 GB, free: 1.375 MB / 458.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.005581/0.6613, allocations: 1.83 MB / 0.6497 GB, free: 15.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6614, allocations: 8.031 kB / 0.6497 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009281/0.6623, allocations: 257.2 kB / 0.6499 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.6646, allocations: 405.4 kB / 0.6503 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008118/0.6728, allocations: 2.811 MB / 0.6531 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.6729, allocations: 114.9 kB / 0.6532 GB, free: 11.85 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004744/0.6734, allocations: 144 kB / 0.6533 GB, free: 11.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006653/0.6801, allocations: 3.047 MB / 0.6563 GB, free: 8.438 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.893e-05/0.6802, allocations: 19.78 kB / 0.6563 GB, free: 8.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.6804, allocations: 63.98 kB / 0.6564 GB, free: 8.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004908/0.6809, allocations: 286.1 kB / 0.6566 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005035/0.686, allocations: 2.218 MB / 0.6588 GB, free: 5.848 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.6999, allocations: 11.56 MB / 0.6701 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.7038, allocations: 1.211 MB / 0.6713 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004397/0.7082, allocations: 3.024 MB / 0.6742 GB, free: 5.465 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.7083, allocations: 39 kB / 0.6743 GB, free: 5.418 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.116e-06/0.7083, allocations: 0 / 0.6743 GB, free: 5.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01101/0.7193, allocations: 3.73 MB / 0.6779 GB, free: 1.582 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.7194, allocations: 89.67 kB / 0.678 GB, free: 1.477 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.721, allocations: 1.059 MB / 0.679 GB, free: 416 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.721, allocations: 33.7 kB / 0.6791 GB, free: 376 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3285/1.05, allocations: 0.9375 MB / 0.68 GB, free: 114.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/1.05, allocations: 219 kB / 0.6802 GB, free: 114 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/1.05, allocations: 30.38 kB / 0.6802 GB, free: 114 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/1.05, allocations: 370.8 kB / 0.6806 GB, free: 113.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/1.051, allocations: 403.5 kB / 0.6809 GB, free: 113.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.052, allocations: 1.254 MB / 0.6822 GB, free: 112.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/1.053, allocations: 0.6699 MB / 0.6828 GB, free: 112.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/1.053, allocations: 8.562 kB / 0.6828 GB, free: 112.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002452/1.056, allocations: 1.708 MB / 0.6845 GB, free: 112.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/1.056, allocations: 22.14 kB / 0.6845 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.056, allocations: 31.22 kB / 0.6846 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/1.056, allocations: 95.97 kB / 0.6846 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/1.057, allocations: 358.8 kB / 0.685 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/1.058, allocations: 1.713 MB / 0.6867 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.059, allocations: 72.97 kB / 0.6867 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/1.059, allocations: 85.09 kB / 0.6868 GB, free: 111.1 MB / 490.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 () * Number of clocked 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.001032/1.061, allocations: 0.6424 MB / 0.6874 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.061, allocations: 114.8 kB / 0.6875 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/1.062, allocations: 0.7055 MB / 0.6882 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.062, allocations: 5.688 kB / 0.6882 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.062, allocations: 1.094 kB / 0.6882 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.062, allocations: 6.984 kB / 0.6882 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/1.065, allocations: 2.268 MB / 0.6905 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.065, allocations: 2.875 kB / 0.6905 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/1.066, allocations: 100.8 kB / 0.6906 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/1.066, allocations: 62.19 kB / 0.6906 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/1.066, allocations: 14.72 kB / 0.6906 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/1.067, allocations: 1.768 MB / 0.6924 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.067, allocations: 4.938 kB / 0.6924 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/1.069, allocations: 1.306 MB / 0.6936 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/1.069, allocations: 184.9 kB / 0.6938 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/1.069, allocations: 18.03 kB / 0.6938 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/1.07, allocations: 28.45 kB / 0.6939 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/1.07, allocations: 46.45 kB / 0.6939 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/1.07, allocations: 22.22 kB / 0.6939 GB, free: 108.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001043/1.071, allocations: 0.7597 MB / 0.6947 GB, free: 108 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.071, allocations: 2.969 kB / 0.6947 GB, free: 108 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001601/1.072, allocations: 310.4 kB / 0.695 GB, free: 108 MB / 490.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 () * Number of clocked 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.002056/1.075, allocations: 2.958 MB / 0.6979 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001784/1.076, allocations: 1.079 MB / 0.6989 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.076, allocations: 2.5 kB / 0.6989 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/1.077, allocations: 405.5 kB / 0.6993 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/1.078, allocations: 168.5 kB / 0.6995 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.09, allocations: 25.36 MB / 0.7242 GB, free: 81.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.091, allocations: 1.488 MB / 0.7257 GB, free: 80.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001165/1.092, allocations: 413 kB / 0.7261 GB, free: 80.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/1.093, allocations: 0.5651 MB / 0.7266 GB, free: 79.92 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/1.093, allocations: 4 kB / 0.7266 GB, free: 79.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/1.146, allocations: 22.29 MB / 0.7484 GB, free: 78.52 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.146, allocations: 207.7 kB / 0.7486 GB, free: 78.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/4.058, allocations: 3.938 kB / 0.7486 GB, free: 78.28 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat