Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001342/0.001342, allocations: 183.3 kB / 18.04 MB, free: 3.66 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.484/1.484, allocations: 205.4 MB / 224.2 MB, free: 9.004 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.0008057/0.0008056, allocations: 100.6 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.000317, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.212, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3143, allocations: 103.7 MB / 480.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3146, allocations: 91.95 kB / 480.8 MB, free: 8.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4171/0.7317, allocations: 109.6 MB / 0.5766 GB, free: 41.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7317, allocations: 4 kB / 0.5766 GB, free: 41.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003213/0.7321, allocations: 107.9 kB / 0.5767 GB, free: 40.92 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.01478/0.7469, allocations: 5.262 MB / 0.5818 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7469, allocations: 15.97 kB / 0.5818 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01996/0.7669, allocations: 5.251 MB / 0.5869 GB, free: 30.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.7792, allocations: 5.652 MB / 0.5925 GB, free: 24.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.7796, allocations: 394.6 kB / 0.5928 GB, free: 24.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/0.7825, allocations: 0.5118 MB / 0.5933 GB, free: 23.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02826/0.8108, allocations: 12.52 MB / 0.6056 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003805/0.8113, allocations: 67.33 kB / 0.6056 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/0.8135, allocations: 243.9 kB / 0.6059 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001542/0.8151, allocations: 1.051 MB / 0.6069 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.8356, allocations: 10.35 MB / 0.617 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2371/1.073, allocations: 50.14 MB / 0.666 GB, free: 52.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.083, allocations: 4.799 MB / 0.6706 GB, free: 51.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/1.085, allocations: 1.901 MB / 0.6725 GB, free: 51.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009213/1.095, allocations: 6.968 MB / 0.6793 GB, free: 49.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.095, allocations: 56.12 kB / 0.6794 GB, free: 49.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.989e-06/1.095, allocations: 0 / 0.6794 GB, free: 49.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.06265/1.157, allocations: 20.1 MB / 0.699 GB, free: 46.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/1.157, allocations: 206.2 kB / 0.6992 GB, free: 46.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007578/1.165, allocations: 4.447 MB / 0.7035 GB, free: 45.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003673/1.165, allocations: 59.55 kB / 0.7036 GB, free: 45.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002086/1.168, allocations: 3.575 MB / 0.7071 GB, free: 43.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008743/1.168, allocations: 0.8354 MB / 0.7079 GB, free: 43.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/1.169, allocations: 135.2 kB / 0.708 GB, free: 43.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004323/1.169, allocations: 0.5697 MB / 0.7086 GB, free: 43.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.173, allocations: 2.162 MB / 0.7107 GB, free: 42.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004889/1.178, allocations: 5.935 MB / 0.7165 GB, free: 36.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008509/1.186, allocations: 8.843 MB / 0.7251 GB, free: 30.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/1.186, allocations: 38.81 kB / 0.7252 GB, free: 30.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01636/1.203, allocations: 8.789 MB / 0.7337 GB, free: 26.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/1.203, allocations: 66.94 kB / 0.7338 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/1.203, allocations: 132.3 kB / 0.7339 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003137/1.206, allocations: 1.024 MB / 0.7349 GB, free: 26.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/1.211, allocations: 1.422 MB / 0.7363 GB, free: 25.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/1.219, allocations: 6.936 MB / 0.7431 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/1.225, allocations: 340.5 kB / 0.7434 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.226, allocations: 382.2 kB / 0.7438 GB, free: 18.52 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.005997/1.232, allocations: 2.488 MB / 0.7462 GB, free: 16.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.233, allocations: 414.7 kB / 0.7466 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/1.24, allocations: 3.655 MB / 0.7502 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.557e-05/1.24, allocations: 24 kB / 0.7502 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/1.24, allocations: 8 kB / 0.7502 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.295e-05/1.24, allocations: 13.78 kB / 0.7502 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02135/1.262, allocations: 9.875 MB / 0.7599 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.262, allocations: 10.52 kB / 0.7599 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.263, allocations: 357 kB / 0.7602 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/1.266, allocations: 0.8085 MB / 0.761 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/1.266, allocations: 40 kB / 0.761 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007468/1.274, allocations: 5.65 MB / 0.7666 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/1.274, allocations: 11.94 kB / 0.7666 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.285, allocations: 6.332 MB / 0.7728 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/1.287, allocations: 0.7148 MB / 0.7735 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009586/1.288, allocations: 44.41 kB / 0.7735 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.29, allocations: 94.58 kB / 0.7736 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/1.29, allocations: 155.8 kB / 0.7737 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.29, allocations: 60 kB / 0.7738 GB, free: 8.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005964/1.296, allocations: 2.79 MB / 0.7765 GB, free: 6.023 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.296, allocations: 0 / 0.7765 GB, free: 6.023 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007355/1.303, allocations: 1.176 MB / 0.7777 GB, free: 4.859 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.0008012/1.304, allocations: 231.3 kB / 0.7779 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009934/1.314, allocations: 5.399 MB / 0.7832 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.314, allocations: 8.062 kB / 0.7832 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003192/1.317, allocations: 1.796 MB / 0.7849 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007687/1.325, allocations: 0.543 MB / 0.7855 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02544/1.351, allocations: 12.98 MB / 0.7981 GB, free: 228 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006493/1.357, allocations: 3.884 MB / 0.8019 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006267/1.364, allocations: 1.95 MB / 0.8038 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/1.365, allocations: 275.4 kB / 0.8041 GB, free: 10.12 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/1.365, allocations: 0 / 0.8041 GB, free: 10.12 MB / 458.7 MB Notification: Performance of Templates: time 0.2684/1.633, allocations: 41.72 MB / 0.8448 GB, free: 115.1 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches