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.001433/0.001433, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.274/2.274, allocations: 205.3 MB / 214.1 MB, free: 14.11 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 89.66 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3044/0.3044, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.389e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4185, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.6135, allocations: 103.9 MB / 0.5675 GB, free: 11.26 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.6139, allocations: 75.95 kB / 0.5675 GB, free: 11.18 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1594/0.7733, allocations: 34.01 MB / 0.6008 GB, free: 9.012 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7734, allocations: 0 / 0.6008 GB, free: 9.012 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.0001268/0.7736, allocations: 32 kB / 0.6008 GB, free: 8.98 MB / 443.1 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.006246/0.7798, allocations: 1.699 MB / 0.6025 GB, free: 7.23 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.7799, allocations: 8.031 kB / 0.6025 GB, free: 7.223 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.7836, allocations: 413.3 kB / 0.6029 GB, free: 6.816 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.7964, allocations: 2.932 MB / 0.6057 GB, free: 3.836 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.7966, allocations: 48 kB / 0.6058 GB, free: 3.789 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.7971, allocations: 84 kB / 0.6058 GB, free: 3.707 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004762/0.8019, allocations: 1.795 MB / 0.6076 GB, free: 1.91 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005737/0.8077, allocations: 2.528 MB / 0.6101 GB, free: 15.16 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.002e-05/0.8079, allocations: 15.84 kB / 0.6101 GB, free: 15.14 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.8081, allocations: 12 kB / 0.6101 GB, free: 15.13 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000799/0.8089, allocations: 282.1 kB / 0.6104 GB, free: 14.86 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/0.8305, allocations: 12 MB / 0.6221 GB, free: 2.414 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.8318, allocations: 0.5252 MB / 0.6226 GB, free: 1.871 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006925/0.8325, allocations: 322.9 kB / 0.6229 GB, free: 1.551 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009492/0.8335, allocations: 0.6554 MB / 0.6235 GB, free: 0.7812 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.8335, allocations: 50.89 kB / 0.6236 GB, free: 0.7227 MB / 459.1 MB Notification: Performance of pre-optimization done (n=53): time 3.266e-06/0.8335, allocations: 0 / 0.6236 GB, free: 0.7227 MB / 459.1 MB Notification: Performance of matching and sorting (n=59): time 0.01419/0.8478, allocations: 3.072 MB / 0.6266 GB, free: 13.55 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.8479, allocations: 115.4 kB / 0.6267 GB, free: 13.41 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.8498, allocations: 0.9388 MB / 0.6276 GB, free: 12.46 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.85, allocations: 25.7 kB / 0.6276 GB, free: 12.43 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009078/0.8509, allocations: 0.9612 MB / 0.6286 GB, free: 11.45 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.8512, allocations: 213.1 kB / 0.6288 GB, free: 11.24 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.8513, allocations: 0 / 0.6288 GB, free: 11.24 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.8515, allocations: 378.8 kB / 0.6292 GB, free: 10.86 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.8524, allocations: 359.9 kB / 0.6295 GB, free: 10.51 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.854, allocations: 1.193 MB / 0.6307 GB, free: 8.898 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.8554, allocations: 0.6328 MB / 0.6313 GB, free: 8.266 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/0.8555, allocations: 12 kB / 0.6313 GB, free: 8.254 MB / 475.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00364/0.8591, allocations: 1.415 MB / 0.6327 GB, free: 6.832 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.8592, allocations: 20 kB / 0.6327 GB, free: 6.812 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/0.8592, allocations: 28 kB / 0.6327 GB, free: 6.785 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.8596, allocations: 88.83 kB / 0.6328 GB, free: 6.695 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.8618, allocations: 367.9 kB / 0.6332 GB, free: 6.336 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.8639, allocations: 1.623 MB / 0.6347 GB, free: 4.59 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.8656, allocations: 43.89 kB / 0.6348 GB, free: 4.547 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.8659, allocations: 84 kB / 0.6349 GB, free: 4.465 MB / 475.1 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.0003766/0.8663, allocations: 203.3 kB / 0.6351 GB, free: 4.258 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001618/0.8679, allocations: 0.6117 MB / 0.6356 GB, free: 3.637 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.8682, allocations: 106.6 kB / 0.6358 GB, free: 3.531 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.87, allocations: 0.6598 MB / 0.6364 GB, free: 2.852 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.8701, allocations: 8 kB / 0.6364 GB, free: 2.844 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8701, allocations: 8.016 kB / 0.6364 GB, free: 2.836 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.8701, allocations: 3.984 kB / 0.6364 GB, free: 2.832 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004891/0.875, allocations: 1.947 MB / 0.6383 GB, free: 0.7734 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8751, allocations: 4 kB / 0.6383 GB, free: 0.7695 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.8758, allocations: 99.89 kB / 0.6384 GB, free: 0.6719 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/0.8761, allocations: 65.3 kB / 0.6385 GB, free: 0.6055 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.8762, allocations: 11.98 kB / 0.6385 GB, free: 0.5938 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3245/1.201, allocations: 1.663 MB / 0.6401 GB, free: 125.7 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.201, allocations: 6.203 kB / 0.6401 GB, free: 125.7 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/1.203, allocations: 1.252 MB / 0.6413 GB, free: 125.1 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005128/1.203, allocations: 217.4 kB / 0.6415 GB, free: 125.1 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.204, allocations: 6.5 kB / 0.6416 GB, free: 125.1 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/1.204, allocations: 17.7 kB / 0.6416 GB, free: 125.1 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.204, allocations: 54.11 kB / 0.6416 GB, free: 125 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/1.204, allocations: 20.72 kB / 0.6416 GB, free: 125 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001382/1.206, allocations: 0.6555 MB / 0.6423 GB, free: 124.9 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.933e-06/1.206, allocations: 0 / 0.6423 GB, free: 124.9 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.00213/1.208, allocations: 269.6 kB / 0.6425 GB, free: 124.9 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 53 * 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.002686/1.211, allocations: 2.97 MB / 0.6454 GB, free: 122.7 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/1.213, allocations: 0.9748 MB / 0.6464 GB, free: 122.6 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.213, allocations: 0.9688 kB / 0.6464 GB, free: 122.6 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007806/1.214, allocations: 374.3 kB / 0.6468 GB, free: 122.5 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.215, allocations: 138.4 kB / 0.6469 GB, free: 122.5 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/1.224, allocations: 2.693 MB / 0.6495 GB, free: 121.8 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/1.226, allocations: 1.485 MB / 0.651 GB, free: 121.1 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.227, allocations: 0.5753 MB / 0.6515 GB, free: 121.1 MB / 475.1 MB Notification: Performance of SimCode: time 1.492e-06/1.227, allocations: 0 / 0.6515 GB, free: 121.1 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.187/4.414, allocations: 28.96 MB / 0.6798 GB, free: 118 MB / 475.1 MB (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