Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007597/0.0007595, allocations: 96.94 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008707/0.0008708, allocations: 176.7 kB / 16.58 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.7 MB, free: 5.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3244/0.3244, allocations: 43.55 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 58.87 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2314/0.3425, allocations: 27.12 MB / 470 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.3568, allocations: 6.365 MB / 476.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005822/0.3627, allocations: 117.2 kB / 476.5 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.3665, allocations: 1.288 MB / 477.8 MB, free: 30.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009731/0.3763, allocations: 4.012 MB / 481.8 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3778, allocations: 364 kB / 482.1 MB, free: 29.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004328/0.3822, allocations: 3.932 MB / 486.1 MB, free: 27.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/0.3857, allocations: 2.279 MB / 488.4 MB, free: 26.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.3878, allocations: 1.058 MB / 489.4 MB, free: 26.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.3905, allocations: 1.722 MB / 491.1 MB, free: 26.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008558/0.3914, allocations: 138.2 kB / 491.3 MB, free: 26.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.3936, allocations: 0.6467 MB / 491.9 MB, free: 25.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.3965, allocations: 1.496 MB / 493.4 MB, free: 25.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002277/0.3988, allocations: 0.7585 MB / 494.2 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00926/0.4081, allocations: 4.731 MB / 498.9 MB, free: 23.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4081, allocations: 9.125 kB / 498.9 MB, free: 23.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4081, allocations: 0 / 498.9 MB, free: 23.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003882/0.4085, allocations: 0 / 498.9 MB, free: 23.95 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01315/0.4217, allocations: 3.462 MB / 0.4906 GB, free: 21.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.4217, allocations: 8.75 kB / 0.4906 GB, free: 21.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003426/0.4252, allocations: 0.7218 MB / 0.4913 GB, free: 21.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.4363, allocations: 3.174 MB / 0.4944 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007543/0.4439, allocations: 2.352 MB / 0.4967 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002922/0.4442, allocations: 192.2 kB / 0.4969 GB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/0.4458, allocations: 256.4 kB / 0.4971 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.467, allocations: 10.39 MB / 0.5073 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.4672, allocations: 21 kB / 0.5073 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.4685, allocations: 126 kB / 0.5074 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004287/0.4728, allocations: 2.558 MB / 0.5099 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/0.4917, allocations: 9.42 MB / 0.5191 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05342/0.5452, allocations: 32.48 MB / 0.5508 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006532/0.5518, allocations: 3.372 MB / 0.5541 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.5536, allocations: 1.075 MB / 0.5552 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.5547, allocations: 1.305 MB / 0.5565 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5548, allocations: 55.88 kB / 0.5565 GB, free: 9.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.298e-06/0.5548, allocations: 0 / 0.5565 GB, free: 9.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02209/0.5769, allocations: 9.783 MB / 0.5661 GB, free: 20 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.577, allocations: 94.36 kB / 0.5662 GB, free: 15.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.5818, allocations: 2.657 MB / 0.5687 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.5819, allocations: 49.7 kB / 0.5688 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/0.5838, allocations: 2.747 MB / 0.5715 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/0.5845, allocations: 0.7092 MB / 0.5722 GB, free: 9.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.5848, allocations: 96 kB / 0.5723 GB, free: 9.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003858/0.5852, allocations: 0.5168 MB / 0.5728 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.5877, allocations: 1.536 MB / 0.5743 GB, free: 7.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004428/0.5922, allocations: 4.45 MB / 0.5786 GB, free: 1.613 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/0.596, allocations: 2.636 MB / 0.5812 GB, free: 14.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.352e-05/0.5961, allocations: 28 kB / 0.5812 GB, free: 14.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.009353/0.6055, allocations: 5.894 MB / 0.587 GB, free: 9.035 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/0.6056, allocations: 52 kB / 0.587 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.6058, allocations: 104 kB / 0.5871 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.6062, allocations: 189.7 kB / 0.5873 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.6093, allocations: 1.092 MB / 0.5884 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.6109, allocations: 1.694 MB / 0.59 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.6138, allocations: 219.8 kB / 0.5902 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004398/0.6142, allocations: 304 kB / 0.5905 GB, free: 5.266 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (605): * Single equations (assignments): 598 * 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.003922/0.6182, allocations: 2.02 MB / 0.5925 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005384/0.6187, allocations: 248.7 kB / 0.5927 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.6229, allocations: 2.53 MB / 0.5952 GB, free: 440 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/0.6229, allocations: 24 kB / 0.5952 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.623, allocations: 4 kB / 0.5952 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.623, allocations: 3.984 kB / 0.5952 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.6382, allocations: 8.156 MB / 0.6032 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/0.6382, allocations: 8 kB / 0.6032 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/0.6392, allocations: 251.6 kB / 0.6034 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.6394, allocations: 60.77 kB / 0.6035 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.6395, allocations: 43.98 kB / 0.6035 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.6409, allocations: 1.511 MB / 0.605 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.6409, allocations: 11.94 kB / 0.605 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/0.6462, allocations: 4.037 MB / 0.609 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.6473, allocations: 0.5016 MB / 0.6095 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005707/0.6479, allocations: 44.14 kB / 0.6095 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.6489, allocations: 55.95 kB / 0.6096 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.6491, allocations: 124.7 kB / 0.6097 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.6492, allocations: 67.81 kB / 0.6097 GB, free: 1.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002749/0.652, allocations: 1.612 MB / 0.6113 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.652, allocations: 0 / 0.6113 GB, free: 15.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004624/0.6566, allocations: 0.8202 MB / 0.6121 GB, free: 14.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.005692/0.6623, allocations: 4.702 MB / 0.6167 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00637/0.6687, allocations: 3.866 MB / 0.6205 GB, free: 5.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.6687, allocations: 4.062 kB / 0.6205 GB, free: 5.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.6703, allocations: 1.233 MB / 0.6217 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.6727, allocations: 328.4 kB / 0.622 GB, free: 4.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2776/0.9503, allocations: 25.42 MB / 0.6468 GB, free: 115.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004973/0.9554, allocations: 3.196 MB / 0.6499 GB, free: 114.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004986/0.9604, allocations: 1.726 MB / 0.6516 GB, free: 114.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003126/0.9635, allocations: 1.755 MB / 0.6533 GB, free: 114.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.9636, allocations: 4 kB / 0.6533 GB, free: 114.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09439/1.058, allocations: 56.28 MB / 0.7083 GB, free: 76.75 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.058, allocations: 198.6 kB / 0.7085 GB, free: 76.51 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/4, allocations: 1.922 kB / 0.7085 GB, free: 76.51 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat