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.001437/0.001437, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008055/0.0008056, allocations: 86.31 kB / 261.7 MB, free: 1.68 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.23/0.23, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.79e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5378, allocations: 103.9 MB / 0.5675 GB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.538, allocations: 80.92 kB / 0.5676 GB, free: 7.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09026/0.6283, allocations: 34.01 MB / 0.6008 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.6283, allocations: 0 / 0.6008 GB, free: 10.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.559e-05/0.6284, allocations: 32 kB / 0.6008 GB, free: 10.26 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.003049/0.6315, allocations: 1.693 MB / 0.6025 GB, free: 8.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.6315, allocations: 8.031 kB / 0.6025 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.6332, allocations: 412 kB / 0.6029 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006874/0.6401, allocations: 2.929 MB / 0.6057 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.6402, allocations: 48 kB / 0.6058 GB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.6404, allocations: 91.69 kB / 0.6059 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002734/0.6432, allocations: 1.791 MB / 0.6076 GB, free: 4.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.6463, allocations: 2.53 MB / 0.6101 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.6464, allocations: 15.84 kB / 0.6101 GB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.6465, allocations: 8 kB / 0.6101 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004654/0.647, allocations: 280.6 kB / 0.6104 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.6594, allocations: 12 MB / 0.6221 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.6601, allocations: 0.5248 MB / 0.6226 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.6606, allocations: 331.3 kB / 0.6229 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.6612, allocations: 0.659 MB / 0.6236 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6612, allocations: 46.89 kB / 0.6236 GB, free: 5.836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.336e-06/0.6612, allocations: 0 / 0.6236 GB, free: 5.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.007841/0.6691, allocations: 3.061 MB / 0.6266 GB, free: 2.676 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.6692, allocations: 119.2 kB / 0.6267 GB, free: 2.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.6703, allocations: 0.9427 MB / 0.6276 GB, free: 1.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.6704, allocations: 29.69 kB / 0.6277 GB, free: 1.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007509/0.6711, allocations: 0.9471 MB / 0.6286 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.6714, allocations: 213.1 kB / 0.6288 GB, free: 376 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.6714, allocations: 0 / 0.6288 GB, free: 376 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.6717, allocations: 426.7 kB / 0.6292 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.6721, allocations: 363.9 kB / 0.6296 GB, free: 15.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6732, allocations: 1.193 MB / 0.6307 GB, free: 13.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.674, allocations: 0.6328 MB / 0.6313 GB, free: 13.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.674, allocations: 8 kB / 0.6313 GB, free: 13.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002091/0.6761, allocations: 1.469 MB / 0.6328 GB, free: 11.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.6761, allocations: 20 kB / 0.6328 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.6762, allocations: 28 kB / 0.6328 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.6764, allocations: 85.61 kB / 0.6329 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.6774, allocations: 367.3 kB / 0.6333 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.6789, allocations: 1.631 MB / 0.6348 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007757/0.6797, allocations: 43.89 kB / 0.6349 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6798, allocations: 84 kB / 0.635 GB, free: 9.48 MB / 442.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.0002282/0.6801, allocations: 199.3 kB / 0.6352 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008836/0.681, allocations: 0.6078 MB / 0.6358 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.6811, allocations: 106.6 kB / 0.6359 GB, free: 8.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.6822, allocations: 0.6599 MB / 0.6365 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6823, allocations: 15.94 kB / 0.6365 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6823, allocations: 3.953 kB / 0.6365 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6823, allocations: 3.984 kB / 0.6365 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.6857, allocations: 1.947 MB / 0.6384 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.6857, allocations: 4 kB / 0.6384 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.6862, allocations: 104.4 kB / 0.6385 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/0.6864, allocations: 64.77 kB / 0.6386 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.6865, allocations: 8 kB / 0.6386 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.6881, allocations: 1.666 MB / 0.6402 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.6882, allocations: 11.95 kB / 0.6402 GB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.6897, allocations: 1.259 MB / 0.6415 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.69, allocations: 211.7 kB / 0.6417 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.6901, allocations: 7.938 kB / 0.6417 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.6905, allocations: 15.98 kB / 0.6417 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.6906, allocations: 55.89 kB / 0.6417 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.6907, allocations: 20 kB / 0.6418 GB, free: 2.082 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009425/0.6916, allocations: 0.6567 MB / 0.6424 GB, free: 1.418 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6916, allocations: 0 / 0.6424 GB, free: 1.418 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00149/0.6931, allocations: 268 kB / 0.6427 GB, free: 1.156 MB / 442.7 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.002349/0.6955, allocations: 2.983 MB / 0.6456 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.6972, allocations: 0.9624 MB / 0.6465 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6972, allocations: 0 / 0.6465 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.6977, allocations: 383.2 kB / 0.6469 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/0.6985, allocations: 143.9 kB / 0.647 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.7035, allocations: 2.533 MB / 0.6495 GB, free: 9.898 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.7047, allocations: 1.489 MB / 0.6509 GB, free: 8.379 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001045/0.7057, allocations: 409.4 kB / 0.6513 GB, free: 7.977 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006702/0.7064, allocations: 0.5657 MB / 0.6519 GB, free: 7.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7064, allocations: 0 / 0.6519 GB, free: 7.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.754, allocations: 20.81 MB / 0.6722 GB, free: 2.617 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.7543, allocations: 137.6 kB / 0.6723 GB, free: 2.422 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.358, allocations: 0 / 0.6723 GB, free: 2.422 MB / 474.7 MB (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