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/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.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/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 95.52 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002906, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 63.46 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02732/0.1471, allocations: 25.4 MB / 0.495 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.1625, allocations: 6.586 MB / 0.5015 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005068/0.1676, allocations: 115.8 kB / 0.5016 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004237/0.1719, allocations: 1.291 MB / 0.5028 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.271/0.4429, allocations: 3.906 MB / 0.5067 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.4449, allocations: 360.5 kB / 0.507 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.4497, allocations: 1.98 MB / 0.5089 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00446/0.4542, allocations: 2.23 MB / 0.5111 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.4566, allocations: 0.869 MB / 0.512 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.4593, allocations: 1.234 MB / 0.5132 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007931/0.4601, allocations: 133.1 kB / 0.5133 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.4623, allocations: 0.619 MB / 0.5139 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002401/0.4647, allocations: 1.355 MB / 0.5152 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.4664, allocations: 0.7402 MB / 0.5159 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006758/0.4731, allocations: 4.633 MB / 0.5205 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4732, allocations: 0 / 0.5205 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4732, allocations: 1.641 kB / 0.5205 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.4734, allocations: 0 / 0.5205 GB, free: 10.64 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.008752/0.4822, allocations: 3.38 MB / 0.5238 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4823, allocations: 10 kB / 0.5238 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002099/0.4844, allocations: 0.7028 MB / 0.5245 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.4976, allocations: 3.738 MB / 0.5281 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/0.5041, allocations: 1.989 MB / 0.5301 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.5044, allocations: 185.4 kB / 0.5302 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.5059, allocations: 252.2 kB / 0.5305 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.5235, allocations: 10.21 MB / 0.5405 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.5237, allocations: 28.72 kB / 0.5405 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006176/0.5243, allocations: 121.4 kB / 0.5406 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003601/0.5279, allocations: 2.464 MB / 0.543 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.5462, allocations: 9.389 MB / 0.5522 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05416/0.6004, allocations: 31.75 MB / 0.5832 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006119/0.6066, allocations: 3.35 MB / 0.5864 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.6079, allocations: 1.31 MB / 0.5877 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6079, allocations: 43.88 kB / 0.5878 GB, free: 7.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.989e-06/0.6079, allocations: 4 kB / 0.5878 GB, free: 7.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02175/0.6297, allocations: 9.616 MB / 0.5972 GB, free: 13.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.6298, allocations: 64.72 kB / 0.5972 GB, free: 13.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004486/0.6343, allocations: 2.705 MB / 0.5999 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.6344, allocations: 48.59 kB / 0.5999 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.6363, allocations: 2.676 MB / 0.6025 GB, free: 8.164 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007225/0.637, allocations: 0.7067 MB / 0.6032 GB, free: 7.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.6373, allocations: 92 kB / 0.6033 GB, free: 7.375 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003749/0.6376, allocations: 0.5165 MB / 0.6038 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/0.6403, allocations: 1.531 MB / 0.6053 GB, free: 5.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/0.645, allocations: 4.335 MB / 0.6095 GB, free: 15.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004151/0.6492, allocations: 2.591 MB / 0.6121 GB, free: 13.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.059e-05/0.6493, allocations: 28 kB / 0.6121 GB, free: 13.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01057/0.6599, allocations: 5.791 MB / 0.6177 GB, free: 7.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.66, allocations: 48.97 kB / 0.6178 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/0.6602, allocations: 96.06 kB / 0.6179 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/0.6606, allocations: 196.8 kB / 0.6181 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/0.6641, allocations: 1.064 MB / 0.6191 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.6658, allocations: 1.698 MB / 0.6208 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/0.6691, allocations: 208 kB / 0.621 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007064/0.6698, allocations: 291.5 kB / 0.6212 GB, free: 3.535 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 585 * 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.004054/0.6739, allocations: 1.99 MB / 0.6232 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/0.6743, allocations: 254.2 kB / 0.6234 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/0.6783, allocations: 2.519 MB / 0.6259 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/0.6784, allocations: 20 kB / 0.6259 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6784, allocations: 4 kB / 0.6259 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.6784, allocations: 7.969 kB / 0.6259 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.6928, allocations: 7.948 MB / 0.6337 GB, free: 6.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.6929, allocations: 8.188 kB / 0.6337 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.6939, allocations: 259.6 kB / 0.6339 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.6941, allocations: 60.77 kB / 0.634 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.6943, allocations: 36 kB / 0.634 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.6957, allocations: 1.519 MB / 0.6355 GB, free: 4.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-05/0.6957, allocations: 19.88 kB / 0.6355 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/0.7014, allocations: 4.799 MB / 0.6402 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008218/0.7023, allocations: 305.8 kB / 0.6405 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005064/0.7028, allocations: 39.94 kB / 0.6406 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.7039, allocations: 63.08 kB / 0.6406 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.7041, allocations: 120.7 kB / 0.6407 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.7043, allocations: 63.98 kB / 0.6408 GB, free: 14.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003333/0.7076, allocations: 1.666 MB / 0.6424 GB, free: 13.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7076, allocations: 4 kB / 0.6424 GB, free: 13.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004733/0.7124, allocations: 0.8083 MB / 0.6432 GB, free: 12.28 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.007427/0.7198, allocations: 7.974 MB / 0.651 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006027/0.7259, allocations: 3.822 MB / 0.6547 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.7259, allocations: 1.938 kB / 0.6547 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.7277, allocations: 1.225 MB / 0.6559 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.7295, allocations: 308.8 kB / 0.6562 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3943/1.124, allocations: 93.18 MB / 0.7472 GB, free: 143.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006606/1.13, allocations: 3.218 MB / 0.7504 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004178/1.135, allocations: 1.717 MB / 0.752 GB, free: 142.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/1.137, allocations: 1.715 MB / 0.7537 GB, free: 142.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/1.137, allocations: 0 / 0.7537 GB, free: 142.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07768/1.215, allocations: 55.99 MB / 0.8084 GB, free: 98.99 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/1.215, allocations: 195.3 kB / 0.8086 GB, free: 98.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.38/4.595, allocations: 0 / 0.8086 GB, free: 98.75 MB / 0.545 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