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") [: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 trunk/package.mo): time 0.001447/0.001447, allocations: 199.6 kB / 8.537 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009148/0.0009149, allocations: 99.97 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.192e-06, allocations: 0 / 343.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 51.47 MB / 394.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3311/0.4408, allocations: 105 MB / 499.6 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4411, allocations: 87.64 kB / 499.7 MB, free: 4.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.4951/0.9362, allocations: 111.1 MB / 0.5966 GB, free: 79.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006019/0.9369, allocations: 103.2 kB / 0.5967 GB, free: 79.48 MB / 442.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.01854/0.9555, allocations: 4.908 MB / 0.6014 GB, free: 77.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.9555, allocations: 6.938 kB / 0.6015 GB, free: 77.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02705/0.9826, allocations: 6.492 MB / 0.6078 GB, free: 77.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01829/1.001, allocations: 5.869 MB / 0.6135 GB, free: 76.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004028/1.001, allocations: 175.2 kB / 0.6137 GB, free: 76.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003065/1.004, allocations: 307.9 kB / 0.614 GB, free: 76.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01539/1.02, allocations: 7.734 MB / 0.6215 GB, free: 76.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02749/1.047, allocations: 10.88 MB / 0.6322 GB, free: 70.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006202/1.048, allocations: 57.25 kB / 0.6322 GB, free: 70.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002855/1.051, allocations: 29.09 kB / 0.6322 GB, free: 70.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002463/1.053, allocations: 1.128 MB / 0.6333 GB, free: 70.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0668/1.12, allocations: 49.47 MB / 0.6817 GB, free: 34.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/1.125, allocations: 3.055 MB / 0.6846 GB, free: 33.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/1.127, allocations: 1.988 MB / 0.6866 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/1.141, allocations: 7.795 MB / 0.6942 GB, free: 27.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.141, allocations: 53.88 kB / 0.6942 GB, free: 27.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 4.589e-06/1.141, allocations: 3.5 kB / 0.6943 GB, free: 27.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=227): time 0.04128/1.182, allocations: 15.79 MB / 0.7097 GB, free: 20.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/1.183, allocations: 209.4 kB / 0.7099 GB, free: 20.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/1.188, allocations: 3.5 MB / 0.7133 GB, free: 17.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003686/1.188, allocations: 25.7 kB / 0.7133 GB, free: 17.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/1.189, allocations: 3.29 MB / 0.7165 GB, free: 14.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006932/1.19, allocations: 0.8205 MB / 0.7173 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/1.19, allocations: 2.062 kB / 0.7173 GB, free: 13.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002724/1.191, allocations: 0.5817 MB / 0.7179 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/1.193, allocations: 2.104 MB / 0.7199 GB, free: 11.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/1.197, allocations: 5.959 MB / 0.7258 GB, free: 3.648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/1.201, allocations: 3.564 MB / 0.7292 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.403e-05/1.201, allocations: 40 kB / 0.7293 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of matching and sorting (n=862) (initialization): time 0.01743/1.218, allocations: 8.325 MB / 0.7374 GB, free: 10.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.218, allocations: 5 kB / 0.7374 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001647/1.218, allocations: 147.4 kB / 0.7376 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/1.222, allocations: 1.017 MB / 0.7386 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004383/1.226, allocations: 1.462 MB / 0.74 GB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008963/1.235, allocations: 6.255 MB / 0.7461 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005267/1.24, allocations: 199.6 kB / 0.7463 GB, free: 2.258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.242, allocations: 398.8 kB / 0.7467 GB, free: 1.875 MB / 458.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.001149/1.243, allocations: 453.4 kB / 0.7471 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008182/1.244, allocations: 383 kB / 0.7475 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.171/1.415, allocations: 3.585 MB / 0.751 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-05/1.415, allocations: 19.56 kB / 0.751 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.415, allocations: 7.812 kB / 0.751 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/1.415, allocations: 10.88 kB / 0.751 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.431, allocations: 8.711 MB / 0.7595 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.431, allocations: 3.531 kB / 0.7595 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.433, allocations: 336.7 kB / 0.7598 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/1.436, allocations: 0.7834 MB / 0.7606 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/1.436, allocations: 15.42 kB / 0.7606 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/1.443, allocations: 5.09 MB / 0.7656 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.443, allocations: 11.22 kB / 0.7656 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00925/1.452, allocations: 6.98 MB / 0.7724 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.453, allocations: 416.5 kB / 0.7728 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000544/1.454, allocations: 14.11 kB / 0.7728 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.456, allocations: 47.83 kB / 0.7729 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/1.456, allocations: 118.8 kB / 0.773 GB, free: 127.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.456, allocations: 68.75 kB / 0.773 GB, free: 127.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.004097/1.46, allocations: 2.381 MB / 0.7754 GB, free: 127.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008367/1.469, allocations: 1.012 MB / 0.7764 GB, free: 127.5 MB / 458.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.0007159/1.469, allocations: 199.1 kB / 0.7765 GB, free: 127.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008831/1.478, allocations: 5.129 MB / 0.7816 GB, free: 127.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.478, allocations: 5.188 kB / 0.7816 GB, free: 127.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/1.481, allocations: 1.696 MB / 0.7832 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.484, allocations: 437.5 kB / 0.7836 GB, free: 126.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.502, allocations: 9.082 MB / 0.7925 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005429/1.507, allocations: 4.276 MB / 0.7967 GB, free: 122 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/1.507, allocations: 3.75 kB / 0.7967 GB, free: 122 MB / 458.7 MB Notification: Performance of Templates: time 0.08949/1.597, allocations: 42.41 MB / 0.8381 GB, free: 119.9 MB / 458.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/jenkins/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