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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 97.48 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001747, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003504, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02175/0.1808, allocations: 23.58 MB / 495.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.194, allocations: 5.974 MB / 0.4895 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004668/0.1987, allocations: 115.7 kB / 0.4896 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.2022, allocations: 1.03 MB / 0.4906 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.2124, allocations: 3.316 MB / 0.4938 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.2144, allocations: 451.2 kB / 0.4942 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003062/0.2175, allocations: 1.855 MB / 0.496 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003602/0.2211, allocations: 1.977 MB / 0.498 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.2225, allocations: 0.5137 MB / 0.4985 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.224, allocations: 0.7906 MB / 0.4993 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.2244, allocations: 55.98 kB / 0.4993 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.2256, allocations: 451.4 kB / 0.4997 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008069/0.2264, allocations: 0.6272 MB / 0.5003 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.227, allocations: 308.8 kB / 0.5006 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.2292, allocations: 1.906 MB / 0.5025 GB, free: 2.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2293, allocations: 0 / 0.5025 GB, free: 2.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2293, allocations: 0 / 0.5025 GB, free: 2.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.637e-05/0.2294, allocations: 0 / 0.5025 GB, free: 2.531 MB / 382.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.003743/0.2331, allocations: 1.733 MB / 0.5042 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2332, allocations: 8.031 kB / 0.5042 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005993/0.2338, allocations: 241.3 kB / 0.5044 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.2349, allocations: 281.5 kB / 0.5047 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3242/0.5591, allocations: 1.335 MB / 0.506 GB, free: 50.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.5593, allocations: 95.98 kB / 0.5061 GB, free: 50.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/0.5595, allocations: 123 kB / 0.5062 GB, free: 50.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006494/0.566, allocations: 2.983 MB / 0.5091 GB, free: 49.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.5661, allocations: 16.73 kB / 0.5091 GB, free: 49.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.5663, allocations: 58.86 kB / 0.5092 GB, free: 49.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007859/0.5671, allocations: 436.7 kB / 0.5096 GB, free: 49.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005362/0.5724, allocations: 2.16 MB / 0.5117 GB, free: 49.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.5865, allocations: 10.74 MB / 0.5222 GB, free: 41.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/0.5903, allocations: 1.231 MB / 0.5234 GB, free: 41.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.591, allocations: 401.2 kB / 0.5238 GB, free: 41.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00385/0.5949, allocations: 3 MB / 0.5267 GB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.5949, allocations: 42.95 kB / 0.5268 GB, free: 38.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.206e-06/0.5949, allocations: 0 / 0.5268 GB, free: 38.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01063/0.6055, allocations: 3.747 MB / 0.5304 GB, free: 36.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.6056, allocations: 91.56 kB / 0.5305 GB, free: 36.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.6077, allocations: 1.19 MB / 0.5317 GB, free: 35.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.6077, allocations: 34.27 kB / 0.5317 GB, free: 35.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.6084, allocations: 0.9431 MB / 0.5326 GB, free: 34.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.6086, allocations: 224.6 kB / 0.5328 GB, free: 34.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.6086, allocations: 28 kB / 0.5329 GB, free: 34.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.6088, allocations: 365.9 kB / 0.5332 GB, free: 33.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.6093, allocations: 403.7 kB / 0.5336 GB, free: 33.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/0.6102, allocations: 1.246 MB / 0.5348 GB, free: 31.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.6111, allocations: 0.6681 MB / 0.5355 GB, free: 31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.6111, allocations: 8 kB / 0.5355 GB, free: 31 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002426/0.6135, allocations: 1.687 MB / 0.5371 GB, free: 29.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.6136, allocations: 20 kB / 0.5371 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.6136, allocations: 31.98 kB / 0.5372 GB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.6138, allocations: 88.83 kB / 0.5373 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.6148, allocations: 355.3 kB / 0.5376 GB, free: 28.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.6161, allocations: 1.7 MB / 0.5393 GB, free: 26.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.6171, allocations: 72.05 kB / 0.5393 GB, free: 26.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6172, allocations: 88 kB / 0.5394 GB, free: 26.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (190): * Single equations (assignments): 189 * 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.00091/0.6181, allocations: 0.6361 MB / 0.54 GB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.6183, allocations: 114.6 kB / 0.5401 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.6194, allocations: 0.7059 MB / 0.5408 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6194, allocations: 11.98 kB / 0.5408 GB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6195, allocations: 0 / 0.5408 GB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.6195, allocations: 0 / 0.5408 GB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.6225, allocations: 2.236 MB / 0.543 GB, free: 23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6225, allocations: 4 kB / 0.543 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.6229, allocations: 103.9 kB / 0.5431 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/0.6231, allocations: 65.52 kB / 0.5432 GB, free: 22.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.6231, allocations: 12.05 kB / 0.5432 GB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.6244, allocations: 1.752 MB / 0.5449 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6244, allocations: 7.938 kB / 0.5449 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.6257, allocations: 1.096 MB / 0.546 GB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.6259, allocations: 183.8 kB / 0.5462 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/0.626, allocations: 19.98 kB / 0.5462 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.6264, allocations: 23.98 kB / 0.5462 GB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.6264, allocations: 47.78 kB / 0.5463 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.6265, allocations: 20 kB / 0.5463 GB, free: 19.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008727/0.6274, allocations: 0.7599 MB / 0.547 GB, free: 18.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6274, allocations: 0 / 0.547 GB, free: 18.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001513/0.6289, allocations: 300 kB / 0.5473 GB, free: 18.39 MB / 382.1 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.001473/0.6304, allocations: 1.653 MB / 0.5489 GB, free: 16.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.6319, allocations: 1.078 MB / 0.55 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6319, allocations: 0 / 0.55 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.6324, allocations: 411.4 kB / 0.5504 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.6333, allocations: 187.5 kB / 0.5505 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6441, allocations: 8.57 MB / 0.5589 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009726/0.6451, allocations: 1.451 MB / 0.5603 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009842/0.6461, allocations: 417.8 kB / 0.5607 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/0.6467, allocations: 0.5774 MB / 0.5613 GB, free: 3.195 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.6467, allocations: 0 / 0.5613 GB, free: 3.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04693/0.6936, allocations: 22.51 MB / 0.5833 GB, free: 12.95 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.6938, allocations: 208.2 kB / 0.5835 GB, free: 12.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.474, allocations: 4 kB / 0.5835 GB, free: 12.7 MB / 414.1 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