Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 180.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007717/0.0007718, allocations: 94.3 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2152, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.3298, allocations: 103.7 MB / 479.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.3302, allocations: 95.94 kB / 479.5 MB, free: 8.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4345/0.7647, allocations: 109.6 MB / 0.5753 GB, free: 41.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.7647, allocations: 0 / 0.5753 GB, free: 41.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002259/0.765, allocations: 115.8 kB / 0.5754 GB, free: 41.07 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01426/0.7792, allocations: 5.258 MB / 0.5805 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7793, allocations: 12.03 kB / 0.5805 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/0.7999, allocations: 5.243 MB / 0.5857 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.8126, allocations: 5.656 MB / 0.5912 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.813, allocations: 386.7 kB / 0.5916 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/0.8155, allocations: 0.5196 MB / 0.5921 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02952/0.845, allocations: 12.52 MB / 0.6043 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003759/0.8455, allocations: 67.33 kB / 0.6043 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001888/0.8474, allocations: 247.9 kB / 0.6046 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/0.8488, allocations: 1.04 MB / 0.6056 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0214/0.8702, allocations: 10.36 MB / 0.6157 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3005/1.171, allocations: 50.15 MB / 0.6647 GB, free: 52.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/1.182, allocations: 4.799 MB / 0.6694 GB, free: 51.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002672/1.185, allocations: 1.902 MB / 0.6712 GB, free: 51.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/1.196, allocations: 6.972 MB / 0.678 GB, free: 49.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/1.196, allocations: 54.09 kB / 0.6781 GB, free: 49.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.899e-06/1.196, allocations: 0 / 0.6781 GB, free: 49.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.07046/1.266, allocations: 20.09 MB / 0.6977 GB, free: 46.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/1.266, allocations: 200.7 kB / 0.6979 GB, free: 46.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008669/1.275, allocations: 4.438 MB / 0.7022 GB, free: 45.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004389/1.275, allocations: 60.23 kB / 0.7023 GB, free: 45.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.278, allocations: 3.576 MB / 0.7058 GB, free: 43.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009034/1.279, allocations: 0.8386 MB / 0.7066 GB, free: 43.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/1.279, allocations: 127.2 kB / 0.7067 GB, free: 43.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000263/1.279, allocations: 0.5734 MB / 0.7073 GB, free: 43.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/1.282, allocations: 2.167 MB / 0.7094 GB, free: 42.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/1.286, allocations: 5.932 MB / 0.7152 GB, free: 36.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0087/1.295, allocations: 8.849 MB / 0.7238 GB, free: 30.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.295, allocations: 36.69 kB / 0.7239 GB, free: 30.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01521/1.31, allocations: 8.787 MB / 0.7325 GB, free: 26.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.801e-05/1.311, allocations: 64.41 kB / 0.7325 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.311, allocations: 132 kB / 0.7326 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/1.314, allocations: 1.027 MB / 0.7337 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/1.318, allocations: 1.42 MB / 0.735 GB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008977/1.327, allocations: 6.946 MB / 0.7418 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/1.333, allocations: 332.2 kB / 0.7421 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.334, allocations: 387.1 kB / 0.7425 GB, free: 18.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 767 * Array equations: 3 * 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 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006481/1.341, allocations: 2.49 MB / 0.7449 GB, free: 16.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.342, allocations: 408 kB / 0.7453 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008034/1.35, allocations: 3.66 MB / 0.7489 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/1.35, allocations: 26.41 kB / 0.7489 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.35, allocations: 8 kB / 0.7489 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/1.35, allocations: 10.08 kB / 0.7489 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/1.372, allocations: 9.878 MB / 0.7586 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/1.372, allocations: 7.844 kB / 0.7586 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.374, allocations: 353.1 kB / 0.7589 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/1.376, allocations: 0.8051 MB / 0.7597 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/1.377, allocations: 47.5 kB / 0.7598 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00836/1.385, allocations: 5.691 MB / 0.7653 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/1.385, allocations: 18.17 kB / 0.7653 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.397, allocations: 6.344 MB / 0.7715 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002241/1.399, allocations: 0.7129 MB / 0.7722 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.4, allocations: 36 kB / 0.7723 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.403, allocations: 101.8 kB / 0.7724 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/1.403, allocations: 146.6 kB / 0.7725 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.403, allocations: 62.11 kB / 0.7726 GB, free: 8.555 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006648/1.41, allocations: 2.787 MB / 0.7753 GB, free: 6.258 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.41, allocations: 0 / 0.7753 GB, free: 6.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007909/1.418, allocations: 1.178 MB / 0.7764 GB, free: 5.094 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.w) * 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 (176): * Single equations (assignments): 172 * Array equations: 3 * 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 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008958/1.419, allocations: 224.1 kB / 0.7767 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.429, allocations: 5.403 MB / 0.7819 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.429, allocations: 4.438 kB / 0.7819 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003184/1.432, allocations: 1.799 MB / 0.7837 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007803/1.44, allocations: 0.5405 MB / 0.7842 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/1.468, allocations: 13.6 MB / 0.7975 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00735/1.476, allocations: 3.89 MB / 0.8013 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.477, allocations: 319.4 kB / 0.8016 GB, free: 11.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.823e-06/1.477, allocations: 0 / 0.8016 GB, free: 11.57 MB / 458.7 MB Notification: Performance of Templates: time 0.3354/1.813, allocations: 89.6 MB / 0.8891 GB, free: 88.42 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches