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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002508/0.002508, allocations: 174.6 kB / 8.151 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001287/0.001286, allocations: 88.03 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/8.876e-06, allocations: 0 / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2857, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.4839, allocations: 102.6 MB / 464.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4843, allocations: 91.94 kB / 464.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.6127/1.097, allocations: 107.4 MB / 0.5586 GB, free: 82.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000375/1.097, allocations: 104 kB / 0.5587 GB, free: 82.82 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.01991/1.117, allocations: 4.901 MB / 0.5634 GB, free: 77.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.117, allocations: 12.03 kB / 0.5635 GB, free: 77.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04667/1.164, allocations: 6.493 MB / 0.5698 GB, free: 71.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02602/1.19, allocations: 6.859 MB / 0.5765 GB, free: 64.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/1.191, allocations: 168 kB / 0.5767 GB, free: 64.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/1.193, allocations: 311.8 kB / 0.577 GB, free: 64.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02026/1.214, allocations: 7.732 MB / 0.5845 GB, free: 56.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/1.244, allocations: 10.87 MB / 0.5951 GB, free: 44.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003614/1.244, allocations: 67.44 kB / 0.5952 GB, free: 44.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/1.247, allocations: 28 kB / 0.5952 GB, free: 44.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002256/1.249, allocations: 1.117 MB / 0.5963 GB, free: 43.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08374/1.333, allocations: 49.54 MB / 0.6447 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007264/1.34, allocations: 3.046 MB / 0.6477 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005043/1.345, allocations: 1.988 MB / 0.6496 GB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1777/1.523, allocations: 7.807 MB / 0.6572 GB, free: 131.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.523, allocations: 61 kB / 0.6573 GB, free: 131.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 5.941e-06/1.523, allocations: 0 / 0.6573 GB, free: 131.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=227): time 0.07802/1.601, allocations: 15.91 MB / 0.6728 GB, free: 129.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/1.601, allocations: 202.8 kB / 0.673 GB, free: 129.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009353/1.611, allocations: 3.528 MB / 0.6765 GB, free: 128.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005275/1.611, allocations: 25.7 kB / 0.6765 GB, free: 128.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.614, allocations: 3.192 MB / 0.6796 GB, free: 126.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.615, allocations: 0.8253 MB / 0.6804 GB, free: 126.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007951/1.616, allocations: 0 / 0.6804 GB, free: 126.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005781/1.617, allocations: 0.5944 MB / 0.681 GB, free: 125.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005984/1.623, allocations: 2.101 MB / 0.683 GB, free: 125.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008616/1.631, allocations: 5.958 MB / 0.6889 GB, free: 120.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008565/1.64, allocations: 3.573 MB / 0.6923 GB, free: 120.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001889/1.64, allocations: 39.88 kB / 0.6924 GB, free: 120.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=862) (initialization): time 0.02661/1.667, allocations: 7.909 MB / 0.7001 GB, free: 118.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.667, allocations: 7.719 kB / 0.7001 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002797/1.667, allocations: 140.1 kB / 0.7002 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006184/1.673, allocations: 1.003 MB / 0.7012 GB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.684, allocations: 1.454 MB / 0.7026 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.701, allocations: 6.376 MB / 0.7089 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006533/1.707, allocations: 181 kB / 0.709 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/1.709, allocations: 397 kB / 0.7094 GB, free: 114.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (798): * Single equations (assignments): 794 * 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.002727/1.712, allocations: 376.6 kB / 0.7098 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.713, allocations: 387.8 kB / 0.7102 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.727, allocations: 3.509 MB / 0.7136 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/1.728, allocations: 26.88 kB / 0.7136 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/1.728, allocations: 3.875 kB / 0.7136 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/1.728, allocations: 11.28 kB / 0.7136 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0311/1.759, allocations: 8.723 MB / 0.7221 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/1.759, allocations: 11.84 kB / 0.7222 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003539/1.762, allocations: 341.3 kB / 0.7225 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005593/1.768, allocations: 0.7773 MB / 0.7232 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005164/1.769, allocations: 27.8 kB / 0.7233 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/1.781, allocations: 5.09 MB / 0.7282 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/1.781, allocations: 15.84 kB / 0.7282 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01773/1.799, allocations: 6.978 MB / 0.7351 GB, free: 94.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/1.802, allocations: 0.6918 MB / 0.7357 GB, free: 94.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.803, allocations: 12.06 kB / 0.7357 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/1.807, allocations: 53.11 kB / 0.7358 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006545/1.808, allocations: 115.8 kB / 0.7359 GB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.808, allocations: 67.66 kB / 0.736 GB, free: 94.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.006393/1.814, allocations: 2.398 MB / 0.7383 GB, free: 92.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008707/1.823, allocations: 1.013 MB / 0.7393 GB, free: 91.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (179): * Single equations (assignments): 175 * 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.001038/1.824, allocations: 195.7 kB / 0.7395 GB, free: 90.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01216/1.836, allocations: 5.119 MB / 0.7445 GB, free: 86.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.836, allocations: 0 / 0.7445 GB, free: 86.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004283/1.841, allocations: 1.691 MB / 0.7461 GB, free: 84.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/1.845, allocations: 433.9 kB / 0.7466 GB, free: 84.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/1.878, allocations: 9.716 MB / 0.756 GB, free: 75.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0121/1.89, allocations: 4.3 MB / 0.7602 GB, free: 72.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/1.89, allocations: 0 / 0.7602 GB, free: 72.18 MB / 410.7 MB Notification: Performance of Templates: time 0.3505/2.24, allocations: 87.17 MB / 0.8454 GB, free: 100.9 MB / 410.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