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.0009346/0.0009344, allocations: 97.53 kB / 15.69 MB, free: 488 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.0009923/0.0009924, allocations: 172.7 kB / 16.56 MB, free: 6.379 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.764/1.764, allocations: 205.4 MB / 222.7 MB, free: 5.906 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.3627/0.3627, allocations: 43.54 MB / 314.5 MB, free: 8.605 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.0005074/0.0005074, allocations: 12 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.27/0.3966, allocations: 29.78 MB / 472.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.4125, allocations: 7.338 MB / 480 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007758/0.4203, allocations: 140.9 kB / 480.1 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006132/0.4265, allocations: 1.435 MB / 481.5 MB, free: 28.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01417/0.4407, allocations: 4.038 MB / 485.6 MB, free: 26.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.4432, allocations: 0.5145 MB / 486.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.4453, allocations: 0.9725 MB / 487.1 MB, free: 25.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004435/0.4497, allocations: 4.032 MB / 491.1 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007719/0.4505, allocations: 0.5709 MB / 491.7 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.4513, allocations: 0.7344 MB / 492.4 MB, free: 23.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.4515, allocations: 101.2 kB / 492.5 MB, free: 23.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.4526, allocations: 0.67 MB / 493.2 MB, free: 23.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006834/0.4533, allocations: 0.9189 MB / 494.1 MB, free: 23.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.4537, allocations: 0.5173 MB / 494.6 MB, free: 22.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.4585, allocations: 3.846 MB / 498.4 MB, free: 22.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4585, allocations: 0 / 498.4 MB, free: 22.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4585, allocations: 1.25 kB / 498.4 MB, free: 22.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001643/0.4587, allocations: 0 / 498.4 MB, free: 22.07 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.008089/0.4668, allocations: 2.638 MB / 0.4893 GB, free: 20.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4669, allocations: 10.25 kB / 0.4893 GB, free: 20.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001259/0.4681, allocations: 467.6 kB / 0.4898 GB, free: 20.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.4698, allocations: 370.2 kB / 0.4901 GB, free: 20.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.4729, allocations: 1.298 MB / 0.4914 GB, free: 19.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.473, allocations: 176.8 kB / 0.4916 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.4735, allocations: 240.8 kB / 0.4918 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.4895, allocations: 7.038 MB / 0.4987 GB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-05/0.4897, allocations: 13.56 kB / 0.4987 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/0.49, allocations: 106.9 kB / 0.4988 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/0.4916, allocations: 0.9922 MB / 0.4998 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.5058, allocations: 5.83 MB / 0.5055 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/0.5346, allocations: 20.32 MB / 0.5253 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007496/0.5422, allocations: 1.841 MB / 0.5271 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00808/0.5503, allocations: 4.931 MB / 0.5319 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.5504, allocations: 39.12 kB / 0.532 GB, free: 3.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 3.647e-06/0.5504, allocations: 0 / 0.532 GB, free: 3.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.0425/0.5929, allocations: 9.387 MB / 0.5411 GB, free: 10 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.593, allocations: 90.11 kB / 0.5412 GB, free: 9.895 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.5959, allocations: 1.962 MB / 0.5431 GB, free: 7.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.596, allocations: 45.7 kB / 0.5432 GB, free: 7.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.5972, allocations: 1.667 MB / 0.5448 GB, free: 6.191 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.5977, allocations: 414.5 kB / 0.5452 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.5978, allocations: 60 kB / 0.5453 GB, free: 5.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.5981, allocations: 432 kB / 0.5457 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.5998, allocations: 1.029 MB / 0.5467 GB, free: 4.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/0.6025, allocations: 2.637 MB / 0.5492 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.605, allocations: 1.58 MB / 0.5508 GB, free: 15.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/0.6051, allocations: 16 kB / 0.5508 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006091/0.6112, allocations: 3.661 MB / 0.5544 GB, free: 11.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.6113, allocations: 32 kB / 0.5544 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.2e-05/0.6113, allocations: 56 kB / 0.5545 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-05/0.6114, allocations: 84 kB / 0.5545 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.6139, allocations: 0.7096 MB / 0.5552 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002294/0.6142, allocations: 115.5 kB / 0.5553 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.6162, allocations: 163.9 kB / 0.5555 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.6165, allocations: 171.9 kB / 0.5557 GB, free: 10.24 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.002331/0.6188, allocations: 1.195 MB / 0.5568 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.6193, allocations: 177.8 kB / 0.557 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.6222, allocations: 1.735 MB / 0.5587 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6222, allocations: 16 kB / 0.5587 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6222, allocations: 0 / 0.5587 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.6222, allocations: 11.92 kB / 0.5587 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.633, allocations: 5.866 MB / 0.5644 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.633, allocations: 12 kB / 0.5645 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.6339, allocations: 207.6 kB / 0.5647 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/0.6339, allocations: 16 kB / 0.5647 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.634, allocations: 36 kB / 0.5647 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.05e-05/0.634, allocations: 28.39 kB / 0.5647 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.634, allocations: 19.94 kB / 0.5648 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.6367, allocations: 2.608 MB / 0.5673 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.6374, allocations: 266.7 kB / 0.5676 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.6376, allocations: 39.98 kB / 0.5676 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.6383, allocations: 35.98 kB / 0.5676 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.6384, allocations: 112.1 kB / 0.5677 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.6385, allocations: 39.98 kB / 0.5678 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.6405, allocations: 1.277 MB / 0.569 GB, free: 11.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6405, allocations: 0 / 0.569 GB, free: 11.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002594/0.6431, allocations: 0.5351 MB / 0.5695 GB, free: 11.1 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.004289/0.6474, allocations: 6.484 MB / 0.5759 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003915/0.6514, allocations: 2.24 MB / 0.5781 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.6514, allocations: 8.125 kB / 0.5781 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.6523, allocations: 0.5912 MB / 0.5786 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.6538, allocations: 238 kB / 0.5789 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/0.6916, allocations: 48.52 MB / 0.6263 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.6942, allocations: 2.234 MB / 0.6284 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002538/0.6968, allocations: 0.7664 MB / 0.6292 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/0.6985, allocations: 1.062 MB / 0.6302 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.6985, allocations: 4 kB / 0.6302 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/0.976, allocations: 40.3 MB / 0.6696 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.9762, allocations: 178.5 kB / 0.6698 GB, free: 157 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.896, allocations: 4 kB / 0.6698 GB, free: 157 MB / 0.4981 GB (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