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.001024/0.001024, allocations: 97.38 kB / 15.69 MB, free: 480 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.001401/0.001401, allocations: 177.6 kB / 16.57 MB, free: 6.391 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.724/1.724, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.3713/0.3713, allocations: 43.54 MB / 314.5 MB, free: 8.965 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.000513/0.0005131, allocations: 20 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1284, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2831/0.4116, allocations: 25.69 MB / 468.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.4255, allocations: 6.586 MB / 475.1 MB, free: 32.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005377/0.4309, allocations: 126.9 kB / 475.2 MB, free: 32.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004908/0.4359, allocations: 1.292 MB / 476.5 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.4492, allocations: 3.94 MB / 480.5 MB, free: 30.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.4515, allocations: 374.2 kB / 480.8 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.4557, allocations: 1.988 MB / 482.8 MB, free: 29.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.4589, allocations: 2.27 MB / 485.1 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.4602, allocations: 0.8905 MB / 486 MB, free: 28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.4616, allocations: 1.249 MB / 487.2 MB, free: 27.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.4619, allocations: 136.8 kB / 487.4 MB, free: 27.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.4633, allocations: 0.6343 MB / 488 MB, free: 27.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.4644, allocations: 1.389 MB / 489.4 MB, free: 27.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007475/0.4652, allocations: 0.7622 MB / 490.2 MB, free: 26.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007103/0.4723, allocations: 4.738 MB / 494.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4723, allocations: 5.125 kB / 494.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4724, allocations: 0 / 494.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002817/0.4726, allocations: 0 / 494.9 MB, free: 25.49 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.01025/0.4829, allocations: 3.459 MB / 498.4 MB, free: 23.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.483, allocations: 9.219 kB / 498.4 MB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003076/0.486, allocations: 0.7201 MB / 499.1 MB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.4998, allocations: 3.724 MB / 0.491 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/0.507, allocations: 2.144 MB / 0.4931 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.5074, allocations: 195.6 kB / 0.4933 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002722/0.5101, allocations: 252.4 kB / 0.4935 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03756/0.5477, allocations: 10.43 MB / 0.5037 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/0.548, allocations: 26.53 kB / 0.5038 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.5497, allocations: 123.7 kB / 0.5039 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008024/0.5577, allocations: 2.563 MB / 0.5064 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/0.5901, allocations: 9.489 MB / 0.5156 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0566/0.6467, allocations: 32.56 MB / 0.5474 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00614/0.6529, allocations: 3.37 MB / 0.5507 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.6542, allocations: 1.313 MB / 0.552 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.6543, allocations: 47.88 kB / 0.5521 GB, free: 14.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 6.912e-06/0.6543, allocations: 0 / 0.5521 GB, free: 14.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02175/0.6761, allocations: 10.33 MB / 0.5621 GB, free: 3.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.6762, allocations: 90.42 kB / 0.5622 GB, free: 3.734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.6801, allocations: 2.766 MB / 0.5649 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.6803, allocations: 45.7 kB / 0.565 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001984/0.6823, allocations: 2.751 MB / 0.5677 GB, free: 14.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000748/0.683, allocations: 0.7133 MB / 0.5684 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.6832, allocations: 99.98 kB / 0.5685 GB, free: 13.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002978/0.6835, allocations: 0.5168 MB / 0.569 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.6859, allocations: 1.536 MB / 0.5705 GB, free: 11.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00406/0.6899, allocations: 4.43 MB / 0.5748 GB, free: 5.344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/0.6938, allocations: 2.632 MB / 0.5774 GB, free: 2.699 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.304e-05/0.6939, allocations: 31.95 kB / 0.5774 GB, free: 2.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.009756/0.7036, allocations: 5.893 MB / 0.5831 GB, free: 12.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.7037, allocations: 48 kB / 0.5832 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.893e-05/0.7038, allocations: 104.9 kB / 0.5833 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.7042, allocations: 192.8 kB / 0.5835 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.7074, allocations: 1.092 MB / 0.5845 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.7089, allocations: 1.713 MB / 0.5862 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.7117, allocations: 215.9 kB / 0.5864 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004234/0.7122, allocations: 300 kB / 0.5867 GB, free: 8.984 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.003947/0.7161, allocations: 2.02 MB / 0.5887 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/0.7166, allocations: 256.7 kB / 0.5889 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.7202, allocations: 2.534 MB / 0.5914 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.7203, allocations: 20 kB / 0.5914 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7203, allocations: 4 kB / 0.5914 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.7203, allocations: 7.969 kB / 0.5914 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.7329, allocations: 8.157 MB / 0.5994 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.7329, allocations: 16 kB / 0.5994 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/0.7339, allocations: 247.6 kB / 0.5996 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.7341, allocations: 60.83 kB / 0.5997 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.7342, allocations: 43.98 kB / 0.5997 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.7354, allocations: 1.523 MB / 0.6012 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.7354, allocations: 15.94 kB / 0.6012 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/0.741, allocations: 4.884 MB / 0.606 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/0.7427, allocations: 0.5016 MB / 0.6065 GB, free: 3.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/0.7431, allocations: 44.42 kB / 0.6065 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/0.744, allocations: 59.95 kB / 0.6066 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.7442, allocations: 124.6 kB / 0.6067 GB, free: 3.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.7443, allocations: 67.98 kB / 0.6068 GB, free: 3.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00271/0.7471, allocations: 1.691 MB / 0.6084 GB, free: 1.902 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7471, allocations: 4 kB / 0.6084 GB, free: 1.898 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004684/0.7518, allocations: 0.832 MB / 0.6093 GB, free: 1.066 MB / 478.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.006958/0.7587, allocations: 8.192 MB / 0.6173 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006496/0.7653, allocations: 3.854 MB / 0.621 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.7653, allocations: 4 kB / 0.621 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.767, allocations: 1.241 MB / 0.6222 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.7689, allocations: 310.5 kB / 0.6225 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2901/1.059, allocations: 95.74 MB / 0.716 GB, free: 89.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/1.063, allocations: 3.282 MB / 0.7192 GB, free: 88.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003636/1.066, allocations: 1.727 MB / 0.7209 GB, free: 88.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/1.069, allocations: 1.759 MB / 0.7226 GB, free: 86.92 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/1.069, allocations: 2.297 kB / 0.7226 GB, free: 86.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.174, allocations: 56.98 MB / 0.7783 GB, free: 52.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.175, allocations: 195 kB / 0.7785 GB, free: 52.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/4.564, allocations: 0 / 0.7785 GB, free: 52.33 MB / 0.4981 GB (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