Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.0008685/0.0008685, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009022/0.0009022, allocations: 174.4 kB / 16.58 MB, free: 6.84 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.446/1.446, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3213/0.3213, allocations: 43.55 MB / 314.6 MB, free: 8.809 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.0005018/0.0005018, allocations: 24 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.229/0.3397, allocations: 31.46 MB / 474.3 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.3571, allocations: 7.076 MB / 481.4 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006203/0.3634, allocations: 138.4 kB / 481.5 MB, free: 27.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004115/0.3675, allocations: 1.452 MB / 483 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.3778, allocations: 4.069 MB / 487.1 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.3801, allocations: 0.5554 MB / 487.6 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.3826, allocations: 2.221 MB / 489.8 MB, free: 24.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005014/0.3876, allocations: 4.065 MB / 493.9 MB, free: 22.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.389, allocations: 0.7113 MB / 494.6 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.391, allocations: 1.07 MB / 495.7 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.3913, allocations: 96.97 kB / 495.8 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.3932, allocations: 0.6999 MB / 496.5 MB, free: 22.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.3945, allocations: 0.9823 MB / 497.5 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000731/0.3952, allocations: 0.5169 MB / 498 MB, free: 21.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006646/0.4019, allocations: 3.851 MB / 0.4901 GB, free: 20.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4019, allocations: 1.125 kB / 0.4901 GB, free: 20.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4019, allocations: 0 / 0.4901 GB, free: 20.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001671/0.4021, allocations: 0 / 0.4901 GB, free: 20.66 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.006213/0.4083, allocations: 2.582 MB / 0.4926 GB, free: 19.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4084, allocations: 8.812 kB / 0.4926 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007155/0.4091, allocations: 464.3 kB / 0.493 GB, free: 18.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.4104, allocations: 367.1 kB / 0.4934 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.4125, allocations: 1.295 MB / 0.4947 GB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.4126, allocations: 174.7 kB / 0.4948 GB, free: 17.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/0.4129, allocations: 245.4 kB / 0.4951 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.4252, allocations: 6.899 MB / 0.5018 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.4253, allocations: 9.688 kB / 0.5018 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.4255, allocations: 114.7 kB / 0.5019 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001387/0.4269, allocations: 0.9842 MB / 0.5029 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.4389, allocations: 5.677 MB / 0.5084 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.4638, allocations: 20.28 MB / 0.5282 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/0.4703, allocations: 1.826 MB / 0.53 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000983/0.4713, allocations: 0.6867 MB / 0.5307 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005802/0.4772, allocations: 4.88 MB / 0.5354 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.4772, allocations: 39.17 kB / 0.5355 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.524e-06/0.4772, allocations: 7.875 kB / 0.5355 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03773/0.515, allocations: 9.34 MB / 0.5446 GB, free: 6.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.5151, allocations: 94.05 kB / 0.5447 GB, free: 6.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.5187, allocations: 1.958 MB / 0.5466 GB, free: 4.559 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.5189, allocations: 41.7 kB / 0.5467 GB, free: 4.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.5206, allocations: 1.675 MB / 0.5483 GB, free: 2.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/0.5212, allocations: 414.5 kB / 0.5487 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.5214, allocations: 64.03 kB / 0.5487 GB, free: 2.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002771/0.5217, allocations: 424 kB / 0.5492 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.5236, allocations: 1.029 MB / 0.5502 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/0.5265, allocations: 2.645 MB / 0.5527 GB, free: 13.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.529, allocations: 1.58 MB / 0.5543 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.54e-05/0.5291, allocations: 16 kB / 0.5543 GB, free: 11.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006294/0.5354, allocations: 3.672 MB / 0.5579 GB, free: 8.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.5355, allocations: 30.97 kB / 0.5579 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.555e-05/0.5356, allocations: 56 kB / 0.558 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.757e-05/0.5357, allocations: 88 kB / 0.5581 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.5381, allocations: 0.7096 MB / 0.5587 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001138/0.5382, allocations: 111.6 kB / 0.5589 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.5403, allocations: 160 kB / 0.559 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/0.5407, allocations: 168 kB / 0.5592 GB, free: 6.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (373): * Single equations (assignments): 373 * 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.002446/0.5431, allocations: 1.199 MB / 0.5603 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.5435, allocations: 185.7 kB / 0.5605 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.5466, allocations: 1.735 MB / 0.5622 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.5467, allocations: 8 kB / 0.5622 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.5467, allocations: 3.953 kB / 0.5622 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5467, allocations: 7.984 kB / 0.5622 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.5581, allocations: 5.865 MB / 0.568 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/0.5581, allocations: 12 kB / 0.568 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.559, allocations: 207.6 kB / 0.5682 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-05/0.5591, allocations: 20 kB / 0.5682 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.5592, allocations: 36.62 kB / 0.5682 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.541e-05/0.5592, allocations: 23.92 kB / 0.5682 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-05/0.5592, allocations: 23.89 kB / 0.5683 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.5619, allocations: 1.685 MB / 0.5699 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007975/0.5627, allocations: 270.7 kB / 0.5702 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/0.5632, allocations: 28 kB / 0.5702 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5643, allocations: 47.97 kB / 0.5702 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.5644, allocations: 108.1 kB / 0.5703 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.5645, allocations: 40 kB / 0.5704 GB, free: 10.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003161/0.5677, allocations: 1.288 MB / 0.5716 GB, free: 9.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5677, allocations: 0 / 0.5716 GB, free: 9.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003823/0.5716, allocations: 0.5312 MB / 0.5722 GB, free: 9.031 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (111): * Single equations (assignments): 111 * 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.003336/0.5749, allocations: 2.309 MB / 0.5744 GB, free: 6.539 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.5797, allocations: 2.239 MB / 0.5766 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/0.5798, allocations: 0 / 0.5766 GB, free: 4.309 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.5807, allocations: 0.5991 MB / 0.5772 GB, free: 3.715 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.583, allocations: 252.5 kB / 0.5774 GB, free: 3.469 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03609/0.6191, allocations: 16.6 MB / 0.5936 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003569/0.6227, allocations: 2.18 MB / 0.5958 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002764/0.6255, allocations: 0.7664 MB / 0.5965 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/0.6274, allocations: 1.069 MB / 0.5976 GB, free: 13.05 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6275, allocations: 3.938 kB / 0.5976 GB, free: 13.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/0.9048, allocations: 40.9 MB / 0.6375 GB, free: 142.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.905, allocations: 193.3 kB / 0.6377 GB, free: 142.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.485, allocations: 0 / 0.6377 GB, free: 142.3 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat