Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008678/0.0008679, allocations: 91.14 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1923/0.1923, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.663e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5521/0.6969, allocations: 107.3 MB / 0.5995 GB, free: 5.172 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.6972, allocations: 76.8 kB / 0.5996 GB, free: 5.098 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1285/0.8258, allocations: 51.22 MB / 0.6496 GB, free: 1.512 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.8258, allocations: 0 / 0.6496 GB, free: 1.512 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001058/0.8259, allocations: 55.98 kB / 0.6497 GB, free: 1.457 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.004666/0.8306, allocations: 2.243 MB / 0.6518 GB, free: 15.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.8307, allocations: 11.98 kB / 0.6519 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.8326, allocations: 436.2 kB / 0.6523 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.8352, allocations: 1.458 MB / 0.6537 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.8353, allocations: 88 kB / 0.6538 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.8356, allocations: 152 kB / 0.6539 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004687/0.8403, allocations: 3.147 MB / 0.657 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.8467, allocations: 4.309 MB / 0.6612 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.539e-05/0.8467, allocations: 19.77 kB / 0.6612 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.847, allocations: 8 kB / 0.6612 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005591/0.8475, allocations: 416.2 kB / 0.6616 GB, free: 4.773 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02086/0.8684, allocations: 17.1 MB / 0.6783 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.8696, allocations: 0.6338 MB / 0.679 GB, free: 2.516 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.8701, allocations: 306.4 kB / 0.6792 GB, free: 2.215 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/0.8717, allocations: 1.742 MB / 0.6809 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.8718, allocations: 43.08 kB / 0.681 GB, free: 148 kB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 2.394e-06/0.8718, allocations: 4 kB / 0.681 GB, free: 144 kB / 490.7 MB Notification: Performance of matching and sorting (n=91): time 0.009015/0.8808, allocations: 2.899 MB / 0.6838 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.8809, allocations: 68.19 kB / 0.6839 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.883, allocations: 1.292 MB / 0.6852 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.8831, allocations: 25.7 kB / 0.6852 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.8844, allocations: 1.547 MB / 0.6867 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.8847, allocations: 331.5 kB / 0.687 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.8848, allocations: 0 / 0.687 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002993/0.8851, allocations: 472 kB / 0.6875 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.8861, allocations: 0.6338 MB / 0.6881 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.8882, allocations: 2.072 MB / 0.6901 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.8899, allocations: 1.14 MB / 0.6912 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/0.8899, allocations: 12 kB / 0.6912 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004298/0.8942, allocations: 2.449 MB / 0.6936 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.8943, allocations: 31.94 kB / 0.6936 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.767e-05/0.8944, allocations: 52.84 kB / 0.6937 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.71e-05/0.8945, allocations: 79.94 kB / 0.6938 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.8964, allocations: 0.5888 MB / 0.6943 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.176e-05/0.8965, allocations: 107.6 kB / 0.6944 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.8983, allocations: 59.8 kB / 0.6945 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.8985, allocations: 152.1 kB / 0.6946 GB, free: 1.348 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 234 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 332 * 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.0004334/0.899, allocations: 264.8 kB / 0.6949 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001527/0.9005, allocations: 0.8538 MB / 0.6957 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.9007, allocations: 142.1 kB / 0.6959 GB, free: 80 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.9024, allocations: 0.9256 MB / 0.6968 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.9024, allocations: 12 kB / 0.6968 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9024, allocations: 0 / 0.6968 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.9024, allocations: 7.984 kB / 0.6968 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/0.9095, allocations: 4.373 MB / 0.7011 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.9096, allocations: 16 kB / 0.7011 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.9102, allocations: 167.7 kB / 0.7012 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-05/0.9102, allocations: 24 kB / 0.7013 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.9103, allocations: 23.98 kB / 0.7013 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.47e-05/0.9103, allocations: 31.94 kB / 0.7013 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-05/0.9103, allocations: 27.83 kB / 0.7013 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.9129, allocations: 2.331 MB / 0.7036 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.9133, allocations: 231.2 kB / 0.7038 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9135, allocations: 23.98 kB / 0.7039 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.914, allocations: 19.98 kB / 0.7039 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.9142, allocations: 103.6 kB / 0.704 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.9142, allocations: 48 kB / 0.704 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001249/0.9155, allocations: 0.8599 MB / 0.7049 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9155, allocations: 4 kB / 0.7049 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002216/0.9177, allocations: 395.9 kB / 0.7052 GB, free: 5.344 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.3266/1.244, allocations: 7.628 MB / 0.7127 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003417/1.248, allocations: 1.453 MB / 0.7141 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.522e-05/1.248, allocations: 3.125 kB / 0.7141 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000792/1.249, allocations: 366 kB / 0.7145 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.25, allocations: 196.9 kB / 0.7147 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.261, allocations: 4.345 MB / 0.7189 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/1.264, allocations: 2.107 MB / 0.721 GB, free: 145 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002529/1.267, allocations: 0.62 MB / 0.7216 GB, free: 145 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.268, allocations: 0.9365 MB / 0.7225 GB, free: 145 MB / 0.5105 GB Notification: Performance of SimCode: time 1.483e-06/1.268, allocations: 0 / 0.7225 GB, free: 145 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07034/1.338, allocations: 30.65 MB / 0.7524 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/1.338, allocations: 127.8 kB / 0.7525 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/4.385, allocations: 2.625 kB / 0.7525 GB, free: 143.1 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat