Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002384/0.002389, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.247/2.247, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001637/0.001637, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.313/0.313, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004737, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.04961/0.1782, allocations: 29.72 MB / 0.5079 GB, free: 11.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02194/0.2002, allocations: 7.205 MB / 0.5149 GB, free: 4.207 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006745/0.207, allocations: 135.8 kB / 0.515 GB, free: 4.074 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005565/0.2127, allocations: 1.442 MB / 0.5164 GB, free: 2.625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3621/0.5748, allocations: 4.048 MB / 0.5204 GB, free: 11.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.5782, allocations: 375.3 kB / 0.5207 GB, free: 11.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003102/0.5813, allocations: 0.9302 MB / 0.5216 GB, free: 11.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008837/0.5902, allocations: 4.012 MB / 0.5256 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.592, allocations: 0.5372 MB / 0.5261 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.594, allocations: 0.6981 MB / 0.5268 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.5946, allocations: 93.81 kB / 0.5269 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.5965, allocations: 0.5009 MB / 0.5274 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.5986, allocations: 0.9093 MB / 0.5282 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.5998, allocations: 0.5182 MB / 0.5287 GB, free: 10.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006917/0.6067, allocations: 3.686 MB / 0.5323 GB, free: 10.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6068, allocations: 3 kB / 0.5323 GB, free: 10.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6068, allocations: 0.875 kB / 0.5323 GB, free: 10.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000225/0.607, allocations: 0 / 0.5323 GB, free: 10.56 MB / 362.7 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.009599/0.6167, allocations: 2.455 MB / 0.5347 GB, free: 9.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.6167, allocations: 9.125 kB / 0.5348 GB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002242/0.619, allocations: 459.6 kB / 0.5352 GB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.6224, allocations: 366 kB / 0.5355 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.627, allocations: 1.234 MB / 0.5367 GB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.6273, allocations: 176.3 kB / 0.5369 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.6287, allocations: 232.9 kB / 0.5371 GB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/0.6518, allocations: 6.113 MB / 0.5431 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.652, allocations: 17.5 kB / 0.5431 GB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007118/0.6527, allocations: 105.5 kB / 0.5432 GB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/0.6555, allocations: 0.9643 MB / 0.5442 GB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/0.6745, allocations: 4.578 MB / 0.5486 GB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03846/0.713, allocations: 18.56 MB / 0.5668 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/0.721, allocations: 1.285 MB / 0.568 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003036/0.7241, allocations: 2.065 MB / 0.57 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/0.7242, allocations: 45.44 kB / 0.5701 GB, free: 5.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 4.168e-06/0.7242, allocations: 0 / 0.5701 GB, free: 5.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.04454/0.7688, allocations: 5.994 MB / 0.5759 GB, free: 428 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.7689, allocations: 97.11 kB / 0.576 GB, free: 316 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00469/0.7736, allocations: 1.825 MB / 0.5778 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.774, allocations: 41.7 kB / 0.5778 GB, free: 14.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.776, allocations: 1.651 MB / 0.5795 GB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.7768, allocations: 409.8 kB / 0.5798 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.7771, allocations: 61.75 kB / 0.5799 GB, free: 12.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003545/0.7775, allocations: 424.7 kB / 0.5803 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.7802, allocations: 0.7902 MB / 0.5811 GB, free: 11.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004475/0.7847, allocations: 2.343 MB / 0.5834 GB, free: 8.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/0.7888, allocations: 1.328 MB / 0.5847 GB, free: 7.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.748e-05/0.7889, allocations: 16 kB / 0.5847 GB, free: 7.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.009818/0.7987, allocations: 3.07 MB / 0.5877 GB, free: 4.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.7989, allocations: 34.97 kB / 0.5877 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.973e-05/0.799, allocations: 52 kB / 0.5878 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.7991, allocations: 84 kB / 0.5878 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004352/0.8035, allocations: 0.647 MB / 0.5885 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/0.8037, allocations: 111.4 kB / 0.5886 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.8068, allocations: 128.1 kB / 0.5887 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006302/0.8075, allocations: 160 kB / 0.5889 GB, free: 3.211 MB / 394.7 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.003754/0.8112, allocations: 1.197 MB / 0.59 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/0.8117, allocations: 173.8 kB / 0.5902 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.8156, allocations: 1.269 MB / 0.5914 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.8157, allocations: 8 kB / 0.5914 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.8157, allocations: 7.938 kB / 0.5914 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8158, allocations: 7.984 kB / 0.5915 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.8336, allocations: 6.449 MB / 0.5978 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/0.8337, allocations: 23.95 kB / 0.5978 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.8351, allocations: 204.5 kB / 0.598 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.298e-05/0.8352, allocations: 28 kB / 0.598 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.8354, allocations: 48 kB / 0.598 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.59e-05/0.8354, allocations: 39.8 kB / 0.5981 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.026e-05/0.8355, allocations: 31.88 kB / 0.5981 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/0.8404, allocations: 3.197 MB / 0.6012 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008933/0.8414, allocations: 270.8 kB / 0.6015 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/0.8418, allocations: 51.98 kB / 0.6015 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.843, allocations: 43.92 kB / 0.6016 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.8433, allocations: 135.5 kB / 0.6017 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.8434, allocations: 48 kB / 0.6018 GB, free: 4.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003555/0.847, allocations: 1.216 MB / 0.6029 GB, free: 3.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.847, allocations: 0.875 kB / 0.6029 GB, free: 3.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004371/0.8514, allocations: 0.4921 MB / 0.6034 GB, free: 3.023 MB / 410.7 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.007677/0.8592, allocations: 9.446 MB / 0.6127 GB, free: 8.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005299/0.8645, allocations: 1.824 MB / 0.6144 GB, free: 7.129 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.702e-05/0.8646, allocations: 4 kB / 0.6144 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.8661, allocations: 491.5 kB / 0.6149 GB, free: 6.652 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.8683, allocations: 250.5 kB / 0.6151 GB, free: 6.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04383/0.9121, allocations: 47.23 MB / 0.6613 GB, free: 5.504 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004881/0.9171, allocations: 2.237 MB / 0.6634 GB, free: 3.238 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002857/0.92, allocations: 1.069 MB / 0.6645 GB, free: 2.172 MB / 474.7 MB Notification: Performance of SimCode: time 1.893e-06/0.9201, allocations: 9.359 kB / 0.6645 GB, free: 2.164 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.341/4.261, allocations: 42.54 MB / 0.706 GB, free: 7.605 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat