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.0009046/0.0009046, allocations: 101.7 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 192.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 63.47 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02516/0.148, allocations: 26.82 MB / 0.4965 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.1637, allocations: 6.362 MB / 0.5028 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.1678, allocations: 119.8 kB / 0.5029 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.1715, allocations: 1.283 MB / 0.5041 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.24/0.4115, allocations: 3.964 MB / 0.508 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.4135, allocations: 359.4 kB / 0.5083 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006878/0.4204, allocations: 3.887 MB / 0.5121 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005327/0.4258, allocations: 2.244 MB / 0.5143 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.4288, allocations: 1.029 MB / 0.5153 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.4327, allocations: 1.693 MB / 0.517 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.4338, allocations: 133.5 kB / 0.5171 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.4366, allocations: 0.6372 MB / 0.5177 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00288/0.4395, allocations: 1.461 MB / 0.5192 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.4416, allocations: 0.7419 MB / 0.5199 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005793/0.4474, allocations: 4.629 MB / 0.5244 GB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4474, allocations: 0 / 0.5244 GB, free: 9.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4474, allocations: 2.797 kB / 0.5244 GB, free: 9.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002015/0.4477, allocations: 0 / 0.5244 GB, free: 9.836 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.007078/0.4547, allocations: 3.375 MB / 0.5277 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4548, allocations: 15.52 kB / 0.5277 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.456, allocations: 0.6984 MB / 0.5284 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009548/0.4655, allocations: 3.177 MB / 0.5315 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/0.47, allocations: 2.085 MB / 0.5335 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.4702, allocations: 187.3 kB / 0.5337 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000625/0.4708, allocations: 246.9 kB / 0.5339 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.486, allocations: 10.17 MB / 0.5439 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.549e-05/0.4862, allocations: 23.72 kB / 0.5439 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/0.4865, allocations: 118.4 kB / 0.544 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/0.4901, allocations: 2.467 MB / 0.5464 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/0.5085, allocations: 9.32 MB / 0.5555 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04878/0.5573, allocations: 31.67 MB / 0.5865 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.5633, allocations: 3.349 MB / 0.5897 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.5648, allocations: 1.064 MB / 0.5908 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.566, allocations: 1.313 MB / 0.592 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.566, allocations: 51.52 kB / 0.5921 GB, free: 1.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 3.897e-06/0.5661, allocations: 0 / 0.5921 GB, free: 1.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.0197/0.5858, allocations: 9.076 MB / 0.601 GB, free: 8.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.5859, allocations: 72.72 kB / 0.601 GB, free: 8.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/0.5899, allocations: 2.594 MB / 0.6036 GB, free: 5.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.59, allocations: 47.89 kB / 0.6036 GB, free: 5.938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.5917, allocations: 2.671 MB / 0.6062 GB, free: 3.273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.5923, allocations: 0.7016 MB / 0.6069 GB, free: 2.578 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.5925, allocations: 92.7 kB / 0.607 GB, free: 2.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003078/0.5928, allocations: 0.5166 MB / 0.6075 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.5949, allocations: 1.524 MB / 0.609 GB, free: 444 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.5986, allocations: 4.359 MB / 0.6132 GB, free: 10.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.6019, allocations: 2.595 MB / 0.6158 GB, free: 8.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.672e-05/0.6019, allocations: 28 kB / 0.6158 GB, free: 8.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.008471/0.6104, allocations: 5.791 MB / 0.6215 GB, free: 2.258 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/0.6105, allocations: 48 kB / 0.6215 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/0.6107, allocations: 100 kB / 0.6216 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/0.6111, allocations: 190.4 kB / 0.6218 GB, free: 1.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.6146, allocations: 1.064 MB / 0.6228 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.6164, allocations: 1.675 MB / 0.6245 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/0.6197, allocations: 208.9 kB / 0.6247 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006613/0.6204, allocations: 297.6 kB / 0.6249 GB, free: 14.56 MB / 478.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.005711/0.6261, allocations: 1.996 MB / 0.6269 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.6266, allocations: 248.7 kB / 0.6271 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.6307, allocations: 2.519 MB / 0.6296 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/0.6308, allocations: 21.33 kB / 0.6296 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6308, allocations: 4 kB / 0.6296 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.6308, allocations: 7.969 kB / 0.6296 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.6446, allocations: 7.947 MB / 0.6374 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/0.6446, allocations: 8 kB / 0.6374 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/0.6456, allocations: 249.4 kB / 0.6376 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.6458, allocations: 60.81 kB / 0.6377 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/0.6459, allocations: 36.7 kB / 0.6377 GB, free: 1.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.6472, allocations: 1.509 MB / 0.6392 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.6472, allocations: 15.94 kB / 0.6392 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004896/0.6521, allocations: 3.994 MB / 0.6431 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/0.6529, allocations: 301.8 kB / 0.6434 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.6531, allocations: 45.41 kB / 0.6434 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/0.6538, allocations: 61.36 kB / 0.6435 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.654, allocations: 120.6 kB / 0.6436 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.6542, allocations: 65.39 kB / 0.6437 GB, free: 10.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00246/0.6566, allocations: 1.58 MB / 0.6452 GB, free: 9.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6566, allocations: 0 / 0.6452 GB, free: 9.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003806/0.6605, allocations: 0.7905 MB / 0.646 GB, free: 8.492 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.005393/0.6659, allocations: 4.683 MB / 0.6506 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006034/0.6719, allocations: 3.816 MB / 0.6543 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.672, allocations: 0 / 0.6543 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.6737, allocations: 1.225 MB / 0.6555 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.6757, allocations: 337.5 kB / 0.6558 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04629/0.722, allocations: 24.82 MB / 0.68 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004009/0.7261, allocations: 3.149 MB / 0.6831 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003896/0.73, allocations: 1.706 MB / 0.6848 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/0.7328, allocations: 1.714 MB / 0.6865 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.7328, allocations: 0 / 0.6865 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3451/1.078, allocations: 55.39 MB / 0.7406 GB, free: 188.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.078, allocations: 204 kB / 0.7407 GB, free: 188.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.424/4.503, allocations: 0 / 0.7407 GB, free: 188.5 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