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.001333/0.001333, allocations: 97.22 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.001899/0.001899, allocations: 174.7 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.621/1.621, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3623/0.3623, allocations: 43.54 MB / 314.5 MB, free: 9.031 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.0005313/0.0005314, allocations: 19.98 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1438, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.269/0.4128, allocations: 29.74 MB / 472.6 MB, free: 33.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.4297, allocations: 7.209 MB / 479.8 MB, free: 29.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007112/0.4369, allocations: 140.8 kB / 479.9 MB, free: 29.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005079/0.442, allocations: 1.431 MB / 481.4 MB, free: 28.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.4568, allocations: 4.048 MB / 485.4 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.4593, allocations: 377.2 kB / 485.8 MB, free: 26.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.4618, allocations: 0.9317 MB / 486.7 MB, free: 25.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004691/0.4665, allocations: 4.015 MB / 490.7 MB, free: 24.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008665/0.4674, allocations: 0.5349 MB / 491.3 MB, free: 24.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/0.4681, allocations: 0.7015 MB / 492 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.4683, allocations: 96.25 kB / 492 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009038/0.4692, allocations: 0.4935 MB / 492.5 MB, free: 23.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.4698, allocations: 0.9133 MB / 493.5 MB, free: 23.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.4702, allocations: 0.5148 MB / 494 MB, free: 23.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.475, allocations: 3.686 MB / 497.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.475, allocations: 0 / 497.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4751, allocations: 0 / 497.7 MB, free: 22.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.4752, allocations: 4.969 kB / 497.7 MB, free: 22.35 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.0067/0.4819, allocations: 2.45 MB / 0.4884 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.482, allocations: 9.438 kB / 0.4884 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001205/0.4832, allocations: 458.6 kB / 0.4888 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.4849, allocations: 365.6 kB / 0.4892 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.4876, allocations: 1.235 MB / 0.4904 GB, free: 19.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.4877, allocations: 172.7 kB / 0.4906 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.4881, allocations: 235.5 kB / 0.4908 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.5014, allocations: 6.103 MB / 0.4967 GB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.019e-05/0.5015, allocations: 19.78 kB / 0.4968 GB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.5018, allocations: 106.2 kB / 0.4969 GB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001567/0.5034, allocations: 0.9704 MB / 0.4978 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.5152, allocations: 4.58 MB / 0.5023 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/0.5385, allocations: 18.56 MB / 0.5204 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/0.5427, allocations: 1.286 MB / 0.5217 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/0.5448, allocations: 2.068 MB / 0.5237 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.5448, allocations: 39.12 kB / 0.5237 GB, free: 12.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.5448, allocations: 0 / 0.5237 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02354/0.5684, allocations: 6.002 MB / 0.5296 GB, free: 6.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.5685, allocations: 86.11 kB / 0.5297 GB, free: 5.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.5712, allocations: 1.824 MB / 0.5314 GB, free: 4.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.5713, allocations: 41.7 kB / 0.5315 GB, free: 4.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.5725, allocations: 1.656 MB / 0.5331 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.5729, allocations: 414.5 kB / 0.5335 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.573, allocations: 56 kB / 0.5336 GB, free: 1.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.5733, allocations: 423.8 kB / 0.534 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.5746, allocations: 0.7863 MB / 0.5347 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.577, allocations: 2.346 MB / 0.537 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.579, allocations: 1.33 MB / 0.5383 GB, free: 12.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/0.579, allocations: 16 kB / 0.5383 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.00528/0.5843, allocations: 3.133 MB / 0.5414 GB, free: 9.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.5844, allocations: 29 kB / 0.5414 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.255e-05/0.5845, allocations: 59.94 kB / 0.5415 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.553e-05/0.5846, allocations: 84 kB / 0.5416 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.5865, allocations: 0.6472 MB / 0.5422 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.244e-05/0.5866, allocations: 111.6 kB / 0.5423 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.5885, allocations: 119.8 kB / 0.5424 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.5887, allocations: 160 kB / 0.5426 GB, free: 7.891 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.002316/0.591, allocations: 1.203 MB / 0.5437 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.5914, allocations: 169.8 kB / 0.5439 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.5937, allocations: 1.255 MB / 0.5451 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.5938, allocations: 20.02 kB / 0.5451 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5938, allocations: 0 / 0.5451 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.5938, allocations: 3.984 kB / 0.5451 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.6047, allocations: 6.463 MB / 0.5515 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.6048, allocations: 20 kB / 0.5515 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/0.6055, allocations: 207.6 kB / 0.5517 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.043e-05/0.6055, allocations: 32 kB / 0.5517 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.6056, allocations: 40 kB / 0.5517 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.123e-05/0.6057, allocations: 39.86 kB / 0.5518 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.178e-05/0.6057, allocations: 31.88 kB / 0.5518 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.6088, allocations: 3.202 MB / 0.5549 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/0.6095, allocations: 274.7 kB / 0.5552 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.6097, allocations: 43.98 kB / 0.5552 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/0.6104, allocations: 43.94 kB / 0.5553 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.6107, allocations: 135.4 kB / 0.5554 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.6108, allocations: 56 kB / 0.5555 GB, free: 9.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002123/0.6129, allocations: 1.212 MB / 0.5566 GB, free: 7.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6129, allocations: 4 kB / 0.5567 GB, free: 7.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003189/0.6161, allocations: 0.4922 MB / 0.5571 GB, free: 7.492 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.005818/0.6219, allocations: 9.455 MB / 0.5664 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.6257, allocations: 1.817 MB / 0.5681 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.177e-05/0.6257, allocations: 4 kB / 0.5681 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008141/0.6266, allocations: 486.9 kB / 0.5686 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.6281, allocations: 255.2 kB / 0.5689 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03548/0.6636, allocations: 46.91 MB / 0.6147 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/0.6662, allocations: 2.252 MB / 0.6169 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002187/0.6684, allocations: 0.7112 MB / 0.6176 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.6698, allocations: 1.05 MB / 0.6186 GB, free: 6.215 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6699, allocations: 0 / 0.6186 GB, free: 6.215 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3053/0.9752, allocations: 36.65 MB / 0.6544 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.9754, allocations: 176.5 kB / 0.6545 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/3.906, allocations: 3.938 kB / 0.6546 GB, free: 155.2 MB / 0.4981 GB (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