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.001148/0.001153, allocations: 175.7 kB / 14.1 MB, free: 1.207 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.624/1.624, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.001036/0.001036, allocations: 90.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.862e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/0.5275, allocations: 103.4 MB / 473.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.5279, allocations: 92.12 kB / 473.5 MB, free: 6.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5727/1.101, allocations: 111.3 MB / 0.571 GB, free: 92.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.101, allocations: 3.938 kB / 0.571 GB, free: 92.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002336/1.101, allocations: 101.8 kB / 0.5711 GB, free: 92.07 MB / 410.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.01495/1.116, allocations: 4.931 MB / 0.576 GB, free: 90 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.116, allocations: 11.38 kB / 0.576 GB, free: 90 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02608/1.142, allocations: 6.904 MB / 0.5827 GB, free: 89.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01697/1.159, allocations: 6.776 MB / 0.5893 GB, free: 87.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/1.16, allocations: 394.1 kB / 0.5897 GB, free: 87.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/1.162, allocations: 0.5141 MB / 0.5902 GB, free: 87.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/1.192, allocations: 12.56 MB / 0.6025 GB, free: 79.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/1.192, allocations: 63.45 kB / 0.6025 GB, free: 79.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008351/1.193, allocations: 242.7 kB / 0.6028 GB, free: 78.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/1.194, allocations: 1.052 MB / 0.6038 GB, free: 77.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/1.215, allocations: 10.37 MB / 0.6139 GB, free: 67.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05441/1.269, allocations: 50.23 MB / 0.663 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/1.281, allocations: 4.762 MB / 0.6676 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/1.283, allocations: 1.878 MB / 0.6695 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/1.294, allocations: 7.051 MB / 0.6763 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.294, allocations: 55.5 kB / 0.6764 GB, free: 1.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 6.673e-06/1.294, allocations: 4 kB / 0.6764 GB, free: 1.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=224): time 0.05893/1.353, allocations: 17.12 MB / 0.6931 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.353, allocations: 209.9 kB / 0.6933 GB, free: 404 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2747/1.628, allocations: 3.902 MB / 0.6971 GB, free: 101.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005218/1.629, allocations: 59.02 kB / 0.6972 GB, free: 101.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003097/1.632, allocations: 3.576 MB / 0.7007 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.633, allocations: 0.84 MB / 0.7015 GB, free: 100 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/1.633, allocations: 132.1 kB / 0.7016 GB, free: 100 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004226/1.634, allocations: 0.5729 MB / 0.7022 GB, free: 99.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.637, allocations: 2.115 MB / 0.7043 GB, free: 99.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005938/1.643, allocations: 5.862 MB / 0.71 GB, free: 94.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00603/1.649, allocations: 3.513 MB / 0.7134 GB, free: 94.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/1.649, allocations: 40 kB / 0.7134 GB, free: 94.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01897/1.668, allocations: 8.696 MB / 0.7219 GB, free: 93.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/1.669, allocations: 66.03 kB / 0.722 GB, free: 93.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/1.669, allocations: 130.6 kB / 0.7221 GB, free: 93.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003023/1.672, allocations: 1.029 MB / 0.7231 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004788/1.677, allocations: 1.428 MB / 0.7245 GB, free: 93.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008423/1.685, allocations: 6.869 MB / 0.7312 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005569/1.691, allocations: 337 kB / 0.7316 GB, free: 89.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/1.692, allocations: 382.4 kB / 0.7319 GB, free: 89.31 MB / 426.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 () * 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.001087/1.693, allocations: 0.5924 MB / 0.7325 GB, free: 88.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009682/1.694, allocations: 405 kB / 0.7329 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006661/1.701, allocations: 3.618 MB / 0.7364 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.668e-05/1.701, allocations: 22.25 kB / 0.7364 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.701, allocations: 15.59 kB / 0.7364 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/1.701, allocations: 13.72 kB / 0.7365 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/1.719, allocations: 9.814 MB / 0.746 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.719, allocations: 13.28 kB / 0.7461 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.721, allocations: 356.1 kB / 0.7464 GB, free: 83.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/1.723, allocations: 0.7918 MB / 0.7472 GB, free: 83.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/1.724, allocations: 44.23 kB / 0.7472 GB, free: 83.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006819/1.73, allocations: 5.606 MB / 0.7527 GB, free: 80.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.73, allocations: 11.58 kB / 0.7527 GB, free: 80.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009133/1.74, allocations: 6.945 MB / 0.7595 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.742, allocations: 0.7107 MB / 0.7602 GB, free: 75.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007591/1.743, allocations: 42.09 kB / 0.7602 GB, free: 75.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.744, allocations: 97.22 kB / 0.7603 GB, free: 75.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/1.745, allocations: 149.7 kB / 0.7605 GB, free: 75.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.745, allocations: 68.67 kB / 0.7605 GB, free: 75.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004599/1.749, allocations: 2.741 MB / 0.7632 GB, free: 74.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.749, allocations: 10.94 kB / 0.7632 GB, free: 74.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007647/1.757, allocations: 1.169 MB / 0.7643 GB, free: 74.77 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 () * 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.0006623/1.758, allocations: 221.9 kB / 0.7646 GB, free: 74.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007399/1.765, allocations: 5.336 MB / 0.7698 GB, free: 70.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.765, allocations: 0 / 0.7698 GB, free: 70.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.768, allocations: 1.766 MB / 0.7715 GB, free: 68.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.77, allocations: 0.5264 MB / 0.772 GB, free: 67.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.787, allocations: 8.983 MB / 0.7808 GB, free: 59.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005501/1.793, allocations: 3.994 MB / 0.7847 GB, free: 56.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005397/1.798, allocations: 1.946 MB / 0.7866 GB, free: 55.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008368/1.799, allocations: 274 kB / 0.7868 GB, free: 55.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.799, allocations: 0 / 0.7868 GB, free: 55.34 MB / 426.7 MB Notification: Performance of Templates: time 0.07308/1.872, allocations: 41.59 MB / 0.8275 GB, free: 19.7 MB / 426.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/jenkins/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