Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",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.00092/0.0009202, allocations: 96.62 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.001073/0.001074, allocations: 178.5 kB / 16.58 MB, free: 6.062 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.42/1.42, allocations: 205.4 MB / 222.8 MB, free: 5.633 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.3388/0.3388, allocations: 43.54 MB / 314.6 MB, free: 8.793 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.0005005/0.0005005, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2257/0.3362, allocations: 31.42 MB / 474.3 MB, free: 32.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3483, allocations: 6.926 MB / 481.2 MB, free: 27.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005445/0.3538, allocations: 139.4 kB / 481.4 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.357, allocations: 1.462 MB / 482.8 MB, free: 27.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009263/0.3662, allocations: 4.063 MB / 486.9 MB, free: 25.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.3682, allocations: 412.2 kB / 487.3 MB, free: 25.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.3706, allocations: 2.147 MB / 489.4 MB, free: 24.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00539/0.376, allocations: 4.048 MB / 493.5 MB, free: 23.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.3779, allocations: 0.676 MB / 494.2 MB, free: 22.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002259/0.3802, allocations: 1.044 MB / 495.2 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006145/0.3808, allocations: 92.91 kB / 495.3 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.3828, allocations: 0.5198 MB / 495.8 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.3847, allocations: 0.9817 MB / 496.8 MB, free: 22.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.3858, allocations: 0.5208 MB / 497.3 MB, free: 21.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006404/0.3922, allocations: 3.683 MB / 0.4893 GB, free: 20.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.3923, allocations: 4 kB / 0.4893 GB, free: 20.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.3923, allocations: 0 / 0.4893 GB, free: 20.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001946/0.3925, allocations: 3.938 kB / 0.4893 GB, free: 20.93 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.006509/0.399, allocations: 2.448 MB / 0.4917 GB, free: 19.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3991, allocations: 13.62 kB / 0.4917 GB, free: 19.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001294/0.4004, allocations: 462.5 kB / 0.4921 GB, free: 19.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.402, allocations: 358.8 kB / 0.4924 GB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.405, allocations: 1.234 MB / 0.4937 GB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.4052, allocations: 173.1 kB / 0.4938 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/0.4058, allocations: 237.5 kB / 0.494 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.418, allocations: 6.033 MB / 0.4999 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.504e-05/0.4181, allocations: 13.41 kB / 0.4999 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.4183, allocations: 101.9 kB / 0.5 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.4197, allocations: 0.9623 MB / 0.501 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009357/0.4291, allocations: 4.488 MB / 0.5054 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.4506, allocations: 18.53 MB / 0.5235 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.4546, allocations: 1.275 MB / 0.5247 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.4552, allocations: 387.3 kB / 0.5251 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/0.4569, allocations: 2.056 MB / 0.5271 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4569, allocations: 47.06 kB / 0.5271 GB, free: 8.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.475e-06/0.4569, allocations: 0 / 0.5271 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02114/0.4781, allocations: 5.959 MB / 0.533 GB, free: 2.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.4782, allocations: 98.09 kB / 0.533 GB, free: 2.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/0.4811, allocations: 1.817 MB / 0.5348 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.575e-05/0.4812, allocations: 45.7 kB / 0.5349 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.4824, allocations: 1.656 MB / 0.5365 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.4828, allocations: 422.3 kB / 0.5369 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.4829, allocations: 56 kB / 0.5369 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4832, allocations: 423.6 kB / 0.5373 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.4846, allocations: 0.7902 MB / 0.5381 GB, free: 13.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.4869, allocations: 2.354 MB / 0.5404 GB, free: 10.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.489, allocations: 1.334 MB / 0.5417 GB, free: 8.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.872e-05/0.489, allocations: 16 kB / 0.5417 GB, free: 8.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005178/0.4942, allocations: 3.137 MB / 0.5448 GB, free: 5.672 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.4943, allocations: 28 kB / 0.5448 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/0.4944, allocations: 52 kB / 0.5449 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.236e-05/0.4945, allocations: 84 kB / 0.545 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.4964, allocations: 0.6433 MB / 0.5456 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.558e-05/0.4965, allocations: 107.6 kB / 0.5457 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.498, allocations: 124.1 kB / 0.5458 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.4983, allocations: 164 kB / 0.546 GB, free: 4.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (361): * Single equations (assignments): 361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002194/0.5005, allocations: 1.196 MB / 0.5471 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.5007, allocations: 177.7 kB / 0.5473 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.503, allocations: 1.255 MB / 0.5485 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.503, allocations: 11.94 kB / 0.5485 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5031, allocations: 4 kB / 0.5485 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.5031, allocations: 3.984 kB / 0.5485 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.5133, allocations: 6.459 MB / 0.5548 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.486e-05/0.5134, allocations: 20 kB / 0.5549 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/0.5141, allocations: 199.8 kB / 0.5551 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.755e-05/0.5142, allocations: 28 kB / 0.5551 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.661e-05/0.5143, allocations: 56.66 kB / 0.5551 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/0.5143, allocations: 39.86 kB / 0.5552 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.785e-05/0.5144, allocations: 31.88 kB / 0.5552 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.517, allocations: 1.665 MB / 0.5568 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/0.5178, allocations: 278.7 kB / 0.5571 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/0.5182, allocations: 47.98 kB / 0.5571 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/0.519, allocations: 43.98 kB / 0.5572 GB, free: 8.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5192, allocations: 131.5 kB / 0.5573 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.5193, allocations: 52 kB / 0.5574 GB, free: 8.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002308/0.5216, allocations: 1.216 MB / 0.5585 GB, free: 6.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.823e-06/0.5216, allocations: 0 / 0.5585 GB, free: 6.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003214/0.5248, allocations: 0.496 MB / 0.559 GB, free: 6.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * 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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002969/0.5278, allocations: 2.296 MB / 0.5613 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003482/0.5313, allocations: 1.826 MB / 0.5631 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/0.5313, allocations: 5.938 kB / 0.5631 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007487/0.5321, allocations: 495.9 kB / 0.5635 GB, free: 1.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.5341, allocations: 267 kB / 0.5638 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03098/0.5651, allocations: 15.57 MB / 0.579 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/0.5682, allocations: 2.198 MB / 0.5811 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002209/0.5704, allocations: 0.7073 MB / 0.5818 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/0.5721, allocations: 1.054 MB / 0.5829 GB, free: 11.88 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5721, allocations: 0 / 0.5829 GB, free: 11.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/0.6371, allocations: 37.24 MB / 0.6192 GB, free: 6.684 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.6374, allocations: 178.3 kB / 0.6194 GB, free: 6.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.441, allocations: 3.938 kB / 0.6194 GB, free: 6.438 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat