Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_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.001675/0.001675, allocations: 184.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.0009853/0.000985, allocations: 98.84 kB / 270.2 MB, free: 13.34 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.2215/0.2215, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.00035, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5477, allocations: 104.7 MB / 0.5811 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.548, allocations: 81.17 kB / 0.5811 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09805/0.646, allocations: 34.7 MB / 0.615 GB, free: 12.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6461, allocations: 0 / 0.615 GB, free: 12.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000147/0.6463, allocations: 36 kB / 0.6151 GB, free: 12.9 MB / 426.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.006121/0.6524, allocations: 1.847 MB / 0.6169 GB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.6525, allocations: 16.02 kB / 0.6169 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009643/0.6534, allocations: 252 kB / 0.6171 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.6558, allocations: 411.5 kB / 0.6175 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008535/0.6644, allocations: 2.966 MB / 0.6204 GB, free: 8.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.6646, allocations: 112.9 kB / 0.6205 GB, free: 7.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006582/0.6652, allocations: 144.8 kB / 0.6207 GB, free: 7.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008431/0.6737, allocations: 3.038 MB / 0.6236 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.6739, allocations: 19.53 kB / 0.6236 GB, free: 5.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004331/0.6743, allocations: 66.17 kB / 0.6237 GB, free: 5.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005668/0.6749, allocations: 277.3 kB / 0.624 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005477/0.6804, allocations: 2.218 MB / 0.6261 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.6958, allocations: 11.59 MB / 0.6375 GB, free: 9.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.6997, allocations: 1.208 MB / 0.6386 GB, free: 8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004615/0.7043, allocations: 3.028 MB / 0.6416 GB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.7044, allocations: 39 kB / 0.6416 GB, free: 4.672 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 5.24e-06/0.7044, allocations: 3.984 kB / 0.6416 GB, free: 4.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.01178/0.7162, allocations: 3.773 MB / 0.6453 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.7163, allocations: 81.67 kB / 0.6454 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.7186, allocations: 1.079 MB / 0.6464 GB, free: 15.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.7187, allocations: 37.7 kB / 0.6465 GB, free: 15.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/0.7195, allocations: 0.9434 MB / 0.6474 GB, free: 14.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.7197, allocations: 221 kB / 0.6476 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.7198, allocations: 32 kB / 0.6476 GB, free: 14.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.72, allocations: 377.9 kB / 0.648 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/0.7207, allocations: 403.7 kB / 0.6484 GB, free: 13.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.7221, allocations: 1.248 MB / 0.6496 GB, free: 11.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.7232, allocations: 0.676 MB / 0.6503 GB, free: 11.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/0.7232, allocations: 12 kB / 0.6503 GB, free: 11.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003093/0.7263, allocations: 1.703 MB / 0.6519 GB, free: 9.516 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.7264, allocations: 23.39 kB / 0.652 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/0.7264, allocations: 32 kB / 0.652 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.7267, allocations: 96.8 kB / 0.6521 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.7279, allocations: 367.3 kB / 0.6524 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.7297, allocations: 1.709 MB / 0.6541 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.731, allocations: 63.98 kB / 0.6542 GB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.7312, allocations: 91.98 kB / 0.6543 GB, free: 7.004 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 () * 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.001515/0.7327, allocations: 0.6481 MB / 0.6549 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.7331, allocations: 114.5 kB / 0.655 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.7347, allocations: 0.7068 MB / 0.6557 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.7348, allocations: 8.141 kB / 0.6557 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.7348, allocations: 4 kB / 0.6557 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.7348, allocations: 11.98 kB / 0.6557 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.7399, allocations: 2.254 MB / 0.6579 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.74, allocations: 4 kB / 0.6579 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.7404, allocations: 95.89 kB / 0.658 GB, free: 3.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.7406, allocations: 65.31 kB / 0.6581 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.7407, allocations: 23.94 kB / 0.6581 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.7424, allocations: 1.76 MB / 0.6598 GB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.7424, allocations: 4 kB / 0.6598 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.7444, allocations: 1.309 MB / 0.6611 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/0.745, allocations: 223.5 kB / 0.6613 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.7452, allocations: 16 kB / 0.6613 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.7456, allocations: 23.98 kB / 0.6613 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.7457, allocations: 55.81 kB / 0.6614 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.7458, allocations: 24.06 kB / 0.6614 GB, free: 15.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00132/0.7471, allocations: 0.7641 MB / 0.6622 GB, free: 14.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7471, allocations: 0 / 0.6622 GB, free: 14.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001723/0.7488, allocations: 319.9 kB / 0.6625 GB, free: 14.14 MB / 474.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.002657/0.7515, allocations: 2.946 MB / 0.6653 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.7536, allocations: 1.085 MB / 0.6664 GB, free: 9.965 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7536, allocations: 0 / 0.6664 GB, free: 9.965 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.7542, allocations: 407.5 kB / 0.6668 GB, free: 9.555 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.7551, allocations: 177.2 kB / 0.667 GB, free: 9.379 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.7702, allocations: 25.38 MB / 0.6918 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.7716, allocations: 1.486 MB / 0.6932 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001257/0.7729, allocations: 417.8 kB / 0.6936 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007149/0.7736, allocations: 0.5696 MB / 0.6942 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of SimCode: time 3.927e-06/0.7736, allocations: 0 / 0.6942 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2909/1.064, allocations: 22.41 MB / 0.716 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.065, allocations: 202.1 kB / 0.7162 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.851, allocations: 0 / 0.7162 GB, free: 150.1 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat