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.00147/0.00147, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 230.7 MB, free: 7.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009315, allocations: 88.44 kB / 281.6 MB, free: 5.25 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.2035/0.2035, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.835e-05, allocations: 224 / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4789/0.6144, allocations: 105.7 MB / 0.598 GB, free: 6.703 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.6147, allocations: 79.94 kB / 0.5981 GB, free: 6.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09468/0.7094, allocations: 34.3 MB / 0.6316 GB, free: 4.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.7094, allocations: 0 / 0.6316 GB, free: 4.184 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.477e-05/0.7095, allocations: 28 kB / 0.6316 GB, free: 4.156 MB / 442.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.003415/0.713, allocations: 1.698 MB / 0.6333 GB, free: 2.406 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.713, allocations: 11.98 kB / 0.6333 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.7148, allocations: 405.4 kB / 0.6337 GB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007434/0.7223, allocations: 2.791 MB / 0.6364 GB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.7224, allocations: 51.95 kB / 0.6364 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/0.7226, allocations: 91.94 kB / 0.6365 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003364/0.726, allocations: 1.787 MB / 0.6383 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.7296, allocations: 2.535 MB / 0.6407 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.7296, allocations: 19.78 kB / 0.6408 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7298, allocations: 7.984 kB / 0.6408 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004981/0.7303, allocations: 282.1 kB / 0.641 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.7469, allocations: 11.98 MB / 0.6527 GB, free: 13.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/0.7478, allocations: 0.5228 MB / 0.6532 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.7482, allocations: 320.3 kB / 0.6535 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006654/0.7489, allocations: 0.667 MB / 0.6542 GB, free: 12.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.7489, allocations: 39 kB / 0.6542 GB, free: 12.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.736e-06/0.7489, allocations: 0 / 0.6542 GB, free: 12.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=59): time 0.007627/0.7566, allocations: 3.026 MB / 0.6572 GB, free: 8.926 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.7566, allocations: 107.4 kB / 0.6573 GB, free: 8.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.7579, allocations: 0.9265 MB / 0.6582 GB, free: 7.855 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.7579, allocations: 25.7 kB / 0.6582 GB, free: 7.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006278/0.7585, allocations: 0.9432 MB / 0.6591 GB, free: 6.863 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.7587, allocations: 216.9 kB / 0.6594 GB, free: 6.648 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.7588, allocations: 0 / 0.6594 GB, free: 6.648 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.759, allocations: 430.7 kB / 0.6598 GB, free: 6.219 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.7595, allocations: 367.8 kB / 0.6601 GB, free: 5.859 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.7607, allocations: 1.193 MB / 0.6613 GB, free: 4.246 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.7615, allocations: 0.6329 MB / 0.6619 GB, free: 3.617 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.7615, allocations: 8 kB / 0.6619 GB, free: 3.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002181/0.7637, allocations: 1.469 MB / 0.6633 GB, free: 2.129 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.7637, allocations: 19.98 kB / 0.6634 GB, free: 2.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/0.7638, allocations: 32 kB / 0.6634 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.764, allocations: 85.64 kB / 0.6635 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7651, allocations: 367.3 kB / 0.6638 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.7666, allocations: 1.619 MB / 0.6654 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/0.7674, allocations: 39.98 kB / 0.6654 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.7675, allocations: 88 kB / 0.6655 GB, free: 15.77 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 () * 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.0002183/0.7678, allocations: 193.6 kB / 0.6657 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009139/0.7687, allocations: 0.6116 MB / 0.6663 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.7688, allocations: 106.7 kB / 0.6664 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.77, allocations: 0.6635 MB / 0.6671 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.77, allocations: 8.094 kB / 0.6671 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.77, allocations: 3.984 kB / 0.6671 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.77, allocations: 3.984 kB / 0.6671 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.773, allocations: 1.943 MB / 0.669 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7731, allocations: 7.938 kB / 0.669 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.7735, allocations: 104.3 kB / 0.6691 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001792/0.7737, allocations: 68.81 kB / 0.6691 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.7737, allocations: 4 kB / 0.6691 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.7752, allocations: 1.67 MB / 0.6708 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.7752, allocations: 7.938 kB / 0.6708 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.7766, allocations: 1.247 MB / 0.672 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.7768, allocations: 179.7 kB / 0.6722 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.7769, allocations: 7.953 kB / 0.6722 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.7773, allocations: 15.98 kB / 0.6722 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.7774, allocations: 51.94 kB / 0.6722 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.7774, allocations: 24.02 kB / 0.6723 GB, free: 8.422 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008716/0.7783, allocations: 0.6485 MB / 0.6729 GB, free: 7.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7783, allocations: 0 / 0.6729 GB, free: 7.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001474/0.7798, allocations: 260 kB / 0.6731 GB, free: 7.512 MB / 490.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.002241/0.782, allocations: 2.975 MB / 0.6761 GB, free: 4.387 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.7837, allocations: 0.9663 MB / 0.677 GB, free: 3.414 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7837, allocations: 0 / 0.677 GB, free: 3.414 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.7842, allocations: 383.3 kB / 0.6774 GB, free: 3.031 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008707/0.7851, allocations: 144.3 kB / 0.6775 GB, free: 2.887 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.7903, allocations: 2.525 MB / 0.68 GB, free: 268 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.7915, allocations: 1.485 MB / 0.6814 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001047/0.7926, allocations: 409.4 kB / 0.6818 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/0.7932, allocations: 0.5618 MB / 0.6824 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.7932, allocations: 0 / 0.6824 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05286/0.846, allocations: 20.69 MB / 0.7026 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.8463, allocations: 134.1 kB / 0.7027 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.542, allocations: 0 / 0.7027 GB, free: 9.004 MB / 0.5105 GB (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