Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 186.2 kB / 16.4 MB, free: 5.715 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.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001138/0.001138, allocations: 96.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5358/0.5358, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004604/0.0004603, allocations: 19.98 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.83 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5198/0.6488, allocations: 116.2 MB / 0.5922 GB, free: 2.477 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.6491, allocations: 75.97 kB / 0.5923 GB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9724/1.622, allocations: 154.6 MB / 0.7432 GB, free: 87.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.746e-06/1.622, allocations: 3.938 kB / 0.7432 GB, free: 87.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004195/1.622, allocations: 135 kB / 0.7434 GB, free: 87.69 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02844/1.65, allocations: 6.975 MB / 0.7502 GB, free: 84.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.651, allocations: 7.375 kB / 0.7502 GB, free: 84.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05048/1.701, allocations: 6.672 MB / 0.7567 GB, free: 83.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0301/1.731, allocations: 8.428 MB / 0.7649 GB, free: 79.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007312/1.732, allocations: 0.5294 MB / 0.7655 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004549/1.737, allocations: 0.709 MB / 0.7662 GB, free: 79.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06326/1.8, allocations: 18.87 MB / 0.7846 GB, free: 64.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005537/1.8, allocations: 91.17 kB / 0.7847 GB, free: 64.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004247/1.805, allocations: 339 kB / 0.785 GB, free: 63.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00376/1.809, allocations: 1.722 MB / 0.7867 GB, free: 62.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05348/1.862, allocations: 16.54 MB / 0.8028 GB, free: 45.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5441/2.406, allocations: 74.19 MB / 0.8753 GB, free: 50.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02692/2.433, allocations: 6.154 MB / 0.8813 GB, free: 49.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03811/2.471, allocations: 13.91 MB / 0.8949 GB, free: 44.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/2.471, allocations: 60.56 kB / 0.8949 GB, free: 44.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=284): time 7.634e-06/2.471, allocations: 0 / 0.8949 GB, free: 44.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=344): time 0.1615/2.633, allocations: 24.76 MB / 0.9191 GB, free: 40.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/2.633, allocations: 185.8 kB / 0.9193 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/2.649, allocations: 5.278 MB / 0.9244 GB, free: 39.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000809/2.65, allocations: 74 kB / 0.9245 GB, free: 39.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004489/2.655, allocations: 4.857 MB / 0.9292 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002097/2.657, allocations: 1.283 MB / 0.9305 GB, free: 35.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/2.658, allocations: 190.2 kB / 0.9307 GB, free: 35.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007939/2.659, allocations: 0.7083 MB / 0.9314 GB, free: 35.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009233/2.668, allocations: 3.268 MB / 0.9346 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0129/2.681, allocations: 8.722 MB / 0.9431 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/2.694, allocations: 5.254 MB / 0.9482 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002073/2.694, allocations: 55.25 kB / 0.9483 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03921/2.733, allocations: 12.59 MB / 0.9606 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/2.734, allocations: 91.62 kB / 0.9606 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003127/2.734, allocations: 191.6 kB / 0.9608 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/2.742, allocations: 1.338 MB / 0.9621 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/2.755, allocations: 2.186 MB / 0.9643 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/2.774, allocations: 7.398 MB / 0.9715 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.785, allocations: 0.5617 MB / 0.972 GB, free: 16.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/2.787, allocations: 0.5479 MB / 0.9726 GB, free: 16.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[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],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1148 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009975/2.797, allocations: 3.462 MB / 0.976 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/2.799, allocations: 0.527 MB / 0.9765 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/2.819, allocations: 5.332 MB / 0.9817 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-05/2.819, allocations: 39.81 kB / 0.9817 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/2.819, allocations: 7.125 kB / 0.9817 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.671e-05/2.82, allocations: 18.09 kB / 0.9817 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04795/2.867, allocations: 14.1 MB / 0.9955 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.314e-05/2.868, allocations: 12 kB / 0.9955 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004625/2.872, allocations: 0.533 MB / 0.996 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006665/2.879, allocations: 0.9232 MB / 0.997 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000734/2.88, allocations: 71.8 kB / 0.997 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/2.901, allocations: 5.706 MB / 1.003 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.473e-05/2.901, allocations: 19.89 kB / 1.003 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04242/2.944, allocations: 10.23 MB / 1.013 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004159/2.948, allocations: 0.9499 MB / 1.014 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/2.95, allocations: 67.47 kB / 1.014 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005299/2.955, allocations: 193.5 kB / 1.014 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.956, allocations: 222.6 kB / 1.014 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/2.957, allocations: 99.33 kB / 1.014 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.012/2.969, allocations: 3.697 MB / 1.018 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.62e-07/2.969, allocations: 0 / 1.018 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01281/2.982, allocations: 1.652 MB / 1.019 GB, free: 13.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (267): * Single equations (assignments): 260 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/2.983, allocations: 260.8 kB / 1.02 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02252/3.006, allocations: 7.781 MB / 1.027 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.122e-05/3.006, allocations: 4 kB / 1.027 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008176/3.014, allocations: 2.404 MB / 1.03 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/3.02, allocations: 0.6454 MB / 1.03 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05288/3.073, allocations: 18.99 MB / 1.049 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01798/3.091, allocations: 5.495 MB / 1.054 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002825/3.094, allocations: 454.1 kB / 1.054 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of SimCode: time 1.583e-06/3.094, allocations: 4 kB / 1.054 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.6382/3.733, allocations: 121.6 MB / 1.173 GB, free: 134.1 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches