Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 200.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 226.5 MB / 245.4 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007621/0.0007622, allocations: 101.7 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002465, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1988, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.3217, allocations: 105.9 MB / 0.5032 GB, free: 1.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.322, allocations: 91.95 kB / 0.5033 GB, free: 1.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4322/0.7541, allocations: 112.3 MB / 0.6129 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.7542, allocations: 0 / 0.6129 GB, free: 14.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003311/0.7545, allocations: 111.9 kB / 0.6131 GB, free: 14.7 MB / 394.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.01531/0.7699, allocations: 5.261 MB / 0.6182 GB, free: 9.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7699, allocations: 12.03 kB / 0.6182 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02106/0.791, allocations: 5.243 MB / 0.6233 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.8034, allocations: 5.156 MB / 0.6284 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00045/0.8039, allocations: 390.6 kB / 0.6287 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/0.8065, allocations: 0.5157 MB / 0.6292 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0258/0.8324, allocations: 12.51 MB / 0.6415 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/0.8326, allocations: 67.39 kB / 0.6415 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006561/0.8332, allocations: 243.9 kB / 0.6417 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001256/0.8345, allocations: 1.051 MB / 0.6428 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.8553, allocations: 10.35 MB / 0.6529 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2679/1.123, allocations: 50.09 MB / 0.7018 GB, free: 56.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/1.134, allocations: 4.795 MB / 0.7065 GB, free: 56.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/1.136, allocations: 1.908 MB / 0.7083 GB, free: 56.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009436/1.146, allocations: 6.947 MB / 0.7151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.146, allocations: 55.47 kB / 0.7152 GB, free: 54.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 4.408e-06/1.146, allocations: 0 / 0.7152 GB, free: 54.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.06165/1.207, allocations: 19.99 MB / 0.7347 GB, free: 51.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/1.207, allocations: 211.7 kB / 0.7349 GB, free: 50.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007695/1.215, allocations: 4.405 MB / 0.7392 GB, free: 50.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004047/1.216, allocations: 57.47 kB / 0.7393 GB, free: 50.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/1.218, allocations: 3.57 MB / 0.7428 GB, free: 48.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009212/1.219, allocations: 0.8431 MB / 0.7436 GB, free: 48.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005754/1.219, allocations: 130.7 kB / 0.7437 GB, free: 48.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004543/1.22, allocations: 0.5707 MB / 0.7443 GB, free: 47.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/1.223, allocations: 2.167 MB / 0.7464 GB, free: 47.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005834/1.229, allocations: 5.939 MB / 0.7522 GB, free: 42.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009045/1.238, allocations: 8.834 MB / 0.7608 GB, free: 35.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/1.238, allocations: 35.53 kB / 0.7608 GB, free: 35.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01663/1.255, allocations: 8.788 MB / 0.7694 GB, free: 32.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.255, allocations: 59.78 kB / 0.7695 GB, free: 32.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/1.255, allocations: 139.1 kB / 0.7696 GB, free: 32.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/1.258, allocations: 1.021 MB / 0.7706 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/1.263, allocations: 1.424 MB / 0.772 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008758/1.272, allocations: 6.932 MB / 0.7788 GB, free: 26.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005018/1.277, allocations: 338.1 kB / 0.7791 GB, free: 25.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/1.278, allocations: 388.9 kB / 0.7795 GB, free: 25.57 MB / 442.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.005288/1.283, allocations: 2.482 MB / 0.7819 GB, free: 23.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009527/1.284, allocations: 410.2 kB / 0.7823 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007432/1.292, allocations: 3.658 MB / 0.7858 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/1.292, allocations: 24.86 kB / 0.7859 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.889e-05/1.292, allocations: 7.5 kB / 0.7859 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.292, allocations: 10.89 kB / 0.7859 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02007/1.312, allocations: 9.864 MB / 0.7955 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/1.312, allocations: 8.594 kB / 0.7955 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.313, allocations: 363.1 kB / 0.7959 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/1.316, allocations: 0.792 MB / 0.7966 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/1.316, allocations: 47.23 kB / 0.7967 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007055/1.323, allocations: 5.652 MB / 0.8022 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.323, allocations: 7.938 kB / 0.8022 GB, free: 5.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0091/1.333, allocations: 6.336 MB / 0.8084 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.334, allocations: 451.6 kB / 0.8088 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.335, allocations: 47.73 kB / 0.8089 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.337, allocations: 98.14 kB / 0.809 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/1.338, allocations: 148.9 kB / 0.8091 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.338, allocations: 60 kB / 0.8092 GB, free: 15.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005875/1.344, allocations: 2.768 MB / 0.8119 GB, free: 13.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.344, allocations: 0 / 0.8119 GB, free: 13.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008447/1.352, allocations: 1.183 MB / 0.813 GB, free: 12.18 MB / 458.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.0009969/1.353, allocations: 231.6 kB / 0.8133 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009503/1.363, allocations: 5.418 MB / 0.8185 GB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.363, allocations: 0 / 0.8185 GB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002855/1.366, allocations: 1.799 MB / 0.8203 GB, free: 5.586 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007341/1.373, allocations: 0.5448 MB / 0.8208 GB, free: 5.121 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/1.397, allocations: 12.95 MB / 0.8335 GB, free: 9.152 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008257/1.406, allocations: 3.872 MB / 0.8373 GB, free: 5.934 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006361/1.412, allocations: 1.945 MB / 0.8392 GB, free: 3.992 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/1.413, allocations: 271.4 kB / 0.8394 GB, free: 3.727 MB / 474.7 MB Notification: Performance of SimCode: time 8.11e-07/1.413, allocations: 7.438 kB / 0.8394 GB, free: 3.723 MB / 474.7 MB Notification: Performance of Templates: time 0.3035/1.717, allocations: 41.63 MB / 0.8801 GB, free: 106.8 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches