Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000994/0.000994, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008583/0.0008584, allocations: 86.3 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.875e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09445, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.4636, allocations: 104.2 MB / 0.6132 GB, free: 5.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4639, allocations: 72.22 kB / 0.6133 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2156/0.6795, allocations: 85.82 MB / 0.6971 GB, free: 7.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6795, allocations: 0 / 0.6971 GB, free: 7.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002249/0.6798, allocations: 68 kB / 0.6972 GB, free: 7.836 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01206/0.6918, allocations: 3.452 MB / 0.7005 GB, free: 4.324 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.6919, allocations: 15.97 kB / 0.7006 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003328/0.6953, allocations: 0.7663 MB / 0.7013 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.7106, allocations: 3.489 MB / 0.7047 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.7208, allocations: 3.511 MB / 0.7081 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/0.7212, allocations: 295.5 kB / 0.7084 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/0.7233, allocations: 375.9 kB / 0.7088 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.7448, allocations: 9.693 MB / 0.7182 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/0.745, allocations: 27.72 kB / 0.7183 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/0.7465, allocations: 171.9 kB / 0.7184 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001736/0.7482, allocations: 1.129 MB / 0.7195 GB, free: 388 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.7656, allocations: 9.206 MB / 0.7285 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2926/1.058, allocations: 31.68 MB / 0.7595 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/1.063, allocations: 3.308 MB / 0.7627 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/1.065, allocations: 1.053 MB / 0.7637 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009088/1.065, allocations: 1.303 MB / 0.765 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.066, allocations: 54.36 kB / 0.765 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=185): time 3.567e-06/1.066, allocations: 1.188 kB / 0.765 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=191): time 0.0164/1.082, allocations: 7.996 MB / 0.7729 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/1.082, allocations: 66.78 kB / 0.7729 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/1.086, allocations: 2.305 MB / 0.7752 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/1.086, allocations: 50.53 kB / 0.7752 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/1.087, allocations: 2.674 MB / 0.7778 GB, free: 118 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004162/1.087, allocations: 0.7057 MB / 0.7785 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.088, allocations: 94.3 kB / 0.7786 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.088, allocations: 0.5112 MB / 0.7791 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.089, allocations: 1.485 MB / 0.7806 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/1.092, allocations: 4.305 MB / 0.7848 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/1.095, allocations: 2.6 MB / 0.7873 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-05/1.095, allocations: 26.84 kB / 0.7873 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.006905/1.102, allocations: 5.718 MB / 0.7929 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/1.102, allocations: 50.86 kB / 0.793 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/1.102, allocations: 102.1 kB / 0.7931 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/1.102, allocations: 191.2 kB / 0.7932 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/1.105, allocations: 1.063 MB / 0.7943 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/1.106, allocations: 1.672 MB / 0.7959 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/1.108, allocations: 208.1 kB / 0.7961 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/1.109, allocations: 293.5 kB / 0.7964 GB, free: 111.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[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 (591): * Single equations (assignments): 584 * Array equations: 6 * 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.0005034/1.109, allocations: 480.4 kB / 0.7969 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/1.11, allocations: 248 kB / 0.7971 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/1.113, allocations: 2.503 MB / 0.7995 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/1.113, allocations: 20.34 kB / 0.7996 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.113, allocations: 0 / 0.7996 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.113, allocations: 9.844 kB / 0.7996 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009834/1.123, allocations: 7.947 MB / 0.8073 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.123, allocations: 10.84 kB / 0.8073 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/1.123, allocations: 252.7 kB / 0.8076 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/1.124, allocations: 58.17 kB / 0.8076 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/1.124, allocations: 39.56 kB / 0.8077 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/1.124, allocations: 1.497 MB / 0.8091 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/1.125, allocations: 18.42 kB / 0.8091 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/1.128, allocations: 4.783 MB / 0.8138 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/1.129, allocations: 302.4 kB / 0.8141 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.129, allocations: 38.72 kB / 0.8141 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/1.13, allocations: 55.48 kB / 0.8142 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.13, allocations: 124.4 kB / 0.8143 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/1.13, allocations: 67.66 kB / 0.8144 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001643/1.132, allocations: 1.562 MB / 0.8159 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.132, allocations: 0 / 0.8159 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002858/1.134, allocations: 0.8071 MB / 0.8167 GB, free: 104 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.006507/1.141, allocations: 8.044 MB / 0.8245 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007711/1.149, allocations: 3.763 MB / 0.8282 GB, free: 96.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.149, allocations: 2.734 kB / 0.8282 GB, free: 96.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002286/1.151, allocations: 1.218 MB / 0.8294 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/1.153, allocations: 325.4 kB / 0.8297 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.175, allocations: 8.289 MB / 0.8378 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/1.178, allocations: 3.213 MB / 0.841 GB, free: 91.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003638/1.181, allocations: 1.714 MB / 0.8426 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/1.183, allocations: 1.69 MB / 0.8443 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/1.183, allocations: 0 / 0.8443 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0733/1.256, allocations: 56.4 MB / 0.8994 GB, free: 42.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/1.256, allocations: 171.5 kB / 0.8995 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.976/4.232, allocations: 0 / 0.8995 GB, free: 41.84 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat