Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001143, allocations: 101 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 199.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002917, allocations: 4 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 63.47 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0218/0.1532, allocations: 22.34 MB / 0.492 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.1676, allocations: 6.198 MB / 0.4981 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004004/0.1716, allocations: 103.8 kB / 0.4982 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003269/0.1749, allocations: 1.069 MB / 0.4992 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.1859, allocations: 3.354 MB / 0.5025 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.1878, allocations: 439.3 kB / 0.5029 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.19, allocations: 1.006 MB / 0.5039 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/0.1927, allocations: 1.954 MB / 0.5058 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007093/0.1935, allocations: 446.5 kB / 0.5063 GB, free: 232 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3059/0.4994, allocations: 0.5691 MB / 0.5068 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.4998, allocations: 57.42 kB / 0.5069 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.5009, allocations: 403 kB / 0.5073 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007914/0.5017, allocations: 0.5816 MB / 0.5078 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.5022, allocations: 310.8 kB / 0.5081 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.5051, allocations: 1.893 MB / 0.51 GB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5051, allocations: 0 / 0.51 GB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5051, allocations: 0 / 0.51 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.89e-05/0.5052, allocations: 0 / 0.51 GB, free: 12.23 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.004493/0.5097, allocations: 1.726 MB / 0.5116 GB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5098, allocations: 8.906 kB / 0.5117 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005288/0.5103, allocations: 247.8 kB / 0.5119 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.5118, allocations: 287.2 kB / 0.5122 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.5147, allocations: 1.13 MB / 0.5133 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.5148, allocations: 100.1 kB / 0.5134 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.5151, allocations: 123.1 kB / 0.5135 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007366/0.5224, allocations: 3.055 MB / 0.5165 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.963e-05/0.5225, allocations: 15.62 kB / 0.5165 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.5227, allocations: 57.34 kB / 0.5165 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000742/0.5235, allocations: 432 kB / 0.5169 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006719/0.5302, allocations: 2.245 MB / 0.5191 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/0.5461, allocations: 10.8 MB / 0.5297 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.5502, allocations: 1.258 MB / 0.5309 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004114/0.5543, allocations: 3.125 MB / 0.534 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5544, allocations: 40.38 kB / 0.534 GB, free: 2.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.786e-06/0.5544, allocations: 0 / 0.534 GB, free: 2.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01178/0.5662, allocations: 3.806 MB / 0.5377 GB, free: 1.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.5663, allocations: 92.22 kB / 0.5378 GB, free: 1.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.5681, allocations: 1.299 MB / 0.5391 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.5682, allocations: 36.14 kB / 0.5391 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.5687, allocations: 0.9355 MB / 0.54 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.5688, allocations: 221.9 kB / 0.5402 GB, free: 212 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.5689, allocations: 27.97 kB / 0.5403 GB, free: 212 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5691, allocations: 376.7 kB / 0.5406 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.5697, allocations: 403.3 kB / 0.541 GB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.5709, allocations: 1.241 MB / 0.5422 GB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.5718, allocations: 0.6734 MB / 0.5429 GB, free: 14.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.5718, allocations: 8.531 kB / 0.5429 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00252/0.5743, allocations: 1.709 MB / 0.5446 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.5744, allocations: 17.56 kB / 0.5446 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.5744, allocations: 29 kB / 0.5446 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.5746, allocations: 92.06 kB / 0.5447 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5757, allocations: 363.4 kB / 0.545 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.5772, allocations: 1.702 MB / 0.5467 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.5783, allocations: 78.47 kB / 0.5468 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.5785, allocations: 88.09 kB / 0.5469 GB, free: 12.7 MB / 398.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.001199/0.5797, allocations: 0.6382 MB / 0.5475 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5798, allocations: 120 kB / 0.5476 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.5801, allocations: 141.5 kB / 0.5477 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5801, allocations: 6 kB / 0.5477 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.5801, allocations: 0 / 0.5477 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.5801, allocations: 3.984 kB / 0.5477 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004028/0.5842, allocations: 2.248 MB / 0.5499 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.5842, allocations: 8.062 kB / 0.5499 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.5846, allocations: 102.9 kB / 0.55 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.5849, allocations: 63.33 kB / 0.5501 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.5849, allocations: 18.33 kB / 0.5501 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.5866, allocations: 1.775 MB / 0.5518 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5866, allocations: 4 kB / 0.5519 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.5883, allocations: 1.319 MB / 0.5531 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.5887, allocations: 190.3 kB / 0.5533 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5888, allocations: 20.3 kB / 0.5533 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.5892, allocations: 31.36 kB / 0.5534 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.5893, allocations: 51.59 kB / 0.5534 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.5894, allocations: 14.88 kB / 0.5534 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001229/0.5906, allocations: 0.8511 MB / 0.5543 GB, free: 7.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5906, allocations: 0 / 0.5543 GB, free: 7.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001714/0.5923, allocations: 309.4 kB / 0.5546 GB, free: 6.859 MB / 398.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.002688/0.595, allocations: 2.977 MB / 0.5575 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.597, allocations: 1.087 MB / 0.5585 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/0.597, allocations: 7.312 kB / 0.5585 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.5976, allocations: 418.6 kB / 0.5589 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.5986, allocations: 167 kB / 0.5591 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.6189, allocations: 25.06 MB / 0.5836 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.6208, allocations: 1.485 MB / 0.585 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001659/0.6225, allocations: 415 kB / 0.5854 GB, free: 7.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009665/0.6235, allocations: 0.5841 MB / 0.586 GB, free: 7.469 MB / 430.1 MB Notification: Performance of SimCode: time 6.072e-06/0.6235, allocations: 0 / 0.586 GB, free: 7.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.6676, allocations: 22.69 MB / 0.6081 GB, free: 1.055 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.6679, allocations: 195.8 kB / 0.6083 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.263, allocations: 3.375 kB / 0.6083 GB, free: 0.8164 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat