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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009938/0.0009937, allocations: 93.34 kB / 297.2 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3831/0.3831, allocations: 45.22 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003012, allocations: 11.98 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4544, allocations: 63.24 MB / 0.5193 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.6144, allocations: 107.4 MB / 0.6241 GB, free: 14.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.6148, allocations: 80.91 kB / 0.6242 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1003/0.7151, allocations: 35.81 MB / 0.6592 GB, free: 10.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7152, allocations: 8 kB / 0.6592 GB, free: 10.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000239/0.7155, allocations: 31.94 kB / 0.6592 GB, free: 10.23 MB / 474.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.006918/0.7224, allocations: 1.826 MB / 0.661 GB, free: 8.348 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.7225, allocations: 16.03 kB / 0.661 GB, free: 8.332 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001094/0.7236, allocations: 249.3 kB / 0.6612 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.7261, allocations: 409.3 kB / 0.6616 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007332/0.7335, allocations: 2.307 MB / 0.6639 GB, free: 5.324 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.7337, allocations: 106.9 kB / 0.664 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006766/0.7343, allocations: 148 kB / 0.6641 GB, free: 5.074 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00822/0.7426, allocations: 3.048 MB / 0.6671 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.7427, allocations: 19.84 kB / 0.6671 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003913/0.7431, allocations: 63.98 kB / 0.6672 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005541/0.7437, allocations: 282.1 kB / 0.6674 GB, free: 1.441 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00582/0.7495, allocations: 2.226 MB / 0.6696 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/0.7656, allocations: 11.55 MB / 0.6809 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003894/0.7695, allocations: 1.208 MB / 0.6821 GB, free: 2.117 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004662/0.7742, allocations: 3.028 MB / 0.685 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.7743, allocations: 35 kB / 0.6851 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=51): time 3.035e-06/0.7743, allocations: 0 / 0.6851 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.01146/0.7858, allocations: 3.73 MB / 0.6887 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.7859, allocations: 89.67 kB / 0.6888 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.788, allocations: 1.059 MB / 0.6898 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.7881, allocations: 37.7 kB / 0.6899 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.7889, allocations: 0.9394 MB / 0.6908 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.7891, allocations: 217.2 kB / 0.691 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.7892, allocations: 39.94 kB / 0.691 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.7894, allocations: 373.9 kB / 0.6914 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007117/0.7901, allocations: 403.7 kB / 0.6918 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.7914, allocations: 1.244 MB / 0.693 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.7925, allocations: 0.6721 MB / 0.6936 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-05/0.7925, allocations: 12 kB / 0.6937 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003082/0.7956, allocations: 1.702 MB / 0.6953 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.7957, allocations: 25.98 kB / 0.6953 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.168e-05/0.7957, allocations: 28 kB / 0.6954 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000247/0.796, allocations: 93.67 kB / 0.6955 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.7971, allocations: 371.3 kB / 0.6958 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.7988, allocations: 1.697 MB / 0.6975 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.8, allocations: 67.98 kB / 0.6975 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.8001, allocations: 91.98 kB / 0.6976 GB, free: 1.199 MB / 0.4948 GB 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.001192/0.8013, allocations: 0.6442 MB / 0.6983 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.8016, allocations: 114.5 kB / 0.6984 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3406/1.142, allocations: 0.703 MB / 0.699 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.142, allocations: 7.312 kB / 0.6991 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.142, allocations: 0.5938 kB / 0.6991 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.142, allocations: 3.891 kB / 0.6991 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/1.147, allocations: 2.265 MB / 0.7013 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.147, allocations: 5.094 kB / 0.7013 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/1.147, allocations: 99.97 kB / 0.7014 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/1.148, allocations: 65.7 kB / 0.7014 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/1.148, allocations: 17.53 kB / 0.7015 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/1.149, allocations: 1.772 MB / 0.7032 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.149, allocations: 3.375 kB / 0.7032 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/1.151, allocations: 1.305 MB / 0.7045 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/1.151, allocations: 181.9 kB / 0.7046 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/1.151, allocations: 20.28 kB / 0.7047 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/1.152, allocations: 24.86 kB / 0.7047 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/1.152, allocations: 45.98 kB / 0.7047 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/1.152, allocations: 23.31 kB / 0.7047 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001146/1.153, allocations: 0.7631 MB / 0.7055 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/1.153, allocations: 1.203 kB / 0.7055 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001538/1.154, allocations: 308.7 kB / 0.7058 GB, free: 115.4 MB / 0.4948 GB 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.002189/1.157, allocations: 2.951 MB / 0.7087 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001987/1.159, allocations: 1.087 MB / 0.7097 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.159, allocations: 2.844 kB / 0.7097 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005602/1.159, allocations: 399 kB / 0.7101 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009189/1.16, allocations: 174.5 kB / 0.7103 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.172, allocations: 25.36 MB / 0.735 GB, free: 89.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.174, allocations: 1.487 MB / 0.7365 GB, free: 89.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001317/1.175, allocations: 409.5 kB / 0.7369 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007135/1.176, allocations: 0.5688 MB / 0.7374 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/1.176, allocations: 0 / 0.7374 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05062/1.227, allocations: 22.28 MB / 0.7592 GB, free: 87.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.227, allocations: 201.2 kB / 0.7594 GB, free: 87.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/4.009, allocations: 0 / 0.7594 GB, free: 87.47 MB / 0.4948 GB (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