Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR") [: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.001665/0.001665, allocations: 203.6 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009429/0.000943, allocations: 92.36 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1762/0.1762, allocations: 45.14 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.971e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5053, allocations: 118.3 MB / 0.6193 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5056, allocations: 81.11 kB / 0.6194 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6786/1.184, allocations: 155.3 MB / 0.7711 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005436/1.185, allocations: 136.7 kB / 0.7712 GB, free: 113.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.0274/1.212, allocations: 6.467 MB / 0.7776 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.212, allocations: 6.656 kB / 0.7776 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02703/1.239, allocations: 5.81 MB / 0.7832 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02176/1.261, allocations: 7.209 MB / 0.7903 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000887/1.262, allocations: 233 kB / 0.7905 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005117/1.267, allocations: 422.5 kB / 0.7909 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02474/1.292, allocations: 12.05 MB / 0.8027 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04013/1.332, allocations: 16.24 MB / 0.8185 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006999/1.333, allocations: 86.72 kB / 0.8186 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004265/1.337, allocations: 43.62 kB / 0.8187 GB, free: 106 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/1.34, allocations: 1.845 MB / 0.8205 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1025/1.442, allocations: 72.15 MB / 0.8909 GB, free: 51.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005817/1.448, allocations: 3.928 MB / 0.8947 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/1.452, allocations: 2.94 MB / 0.8976 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02395/1.476, allocations: 15.46 MB / 0.9127 GB, free: 31.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/1.476, allocations: 60.56 kB / 0.9128 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=292): time 6.933e-06/1.476, allocations: 4 kB / 0.9128 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=352): time 0.04501/1.521, allocations: 17.69 MB / 0.9301 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/1.521, allocations: 185.6 kB / 0.9302 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007236/1.528, allocations: 4.655 MB / 0.9348 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007593/1.529, allocations: 29.7 kB / 0.9348 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/1.532, allocations: 4.731 MB / 0.9394 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.534, allocations: 1.264 MB / 0.9407 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/1.534, allocations: 0 / 0.9407 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006028/1.535, allocations: 0.7344 MB / 0.9414 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004513/1.54, allocations: 3.202 MB / 0.9445 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008471/1.548, allocations: 8.906 MB / 0.9532 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009576/1.558, allocations: 5.664 MB / 0.9587 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/1.558, allocations: 56 kB / 0.9588 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.2105/1.768, allocations: 12.11 MB / 0.9706 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.768, allocations: 5.625 kB / 0.9706 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002668/1.769, allocations: 204.1 kB / 0.9708 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/1.773, allocations: 1.307 MB / 0.9721 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008235/1.781, allocations: 2.247 MB / 0.9743 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.793, allocations: 7.226 MB / 0.9813 GB, free: 165.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009842/1.803, allocations: 344.7 kB / 0.9817 GB, free: 165.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002951/1.806, allocations: 0.5832 MB / 0.9822 GB, free: 165.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 927 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1212): * Single equations (assignments): 1205 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0019/1.808, allocations: 0.6067 MB / 0.9828 GB, free: 165.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.809, allocations: 0.5014 MB / 0.9833 GB, free: 165.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.82, allocations: 5.359 MB / 0.9885 GB, free: 165 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.276e-05/1.82, allocations: 32.31 kB / 0.9886 GB, free: 165 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.82, allocations: 3.906 kB / 0.9886 GB, free: 165 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/1.82, allocations: 19.77 kB / 0.9886 GB, free: 165 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/1.847, allocations: 12.66 MB / 1.001 GB, free: 163.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.847, allocations: 20.05 kB / 1.001 GB, free: 163.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.849, allocations: 0.4971 MB / 1.001 GB, free: 163.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/1.852, allocations: 0.8636 MB / 1.002 GB, free: 163.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004494/1.853, allocations: 29.5 kB / 1.002 GB, free: 163.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007753/1.861, allocations: 5.002 MB / 1.007 GB, free: 162.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/1.861, allocations: 24.92 kB / 1.007 GB, free: 162.4 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0148/1.876, allocations: 10.3 MB / 1.017 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/1.877, allocations: 0.5302 MB / 1.018 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008463/1.878, allocations: 21.81 kB / 1.018 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.88, allocations: 86.09 kB / 1.018 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.88, allocations: 186 kB / 1.018 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.881, allocations: 108.5 kB / 1.018 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00488/1.886, allocations: 3.099 MB / 1.021 GB, free: 157.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008422/1.894, allocations: 1.443 MB / 1.023 GB, free: 157.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 268 * Array equations: 7 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007315/1.895, allocations: 236.4 kB / 1.023 GB, free: 157.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.905, allocations: 7.557 MB / 1.03 GB, free: 155 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/1.905, allocations: 7.875 kB / 1.03 GB, free: 155 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003338/1.909, allocations: 2.346 MB / 1.033 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/1.912, allocations: 0.504 MB / 1.033 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02459/1.936, allocations: 12.91 MB / 1.046 GB, free: 149.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008219/1.945, allocations: 5.737 MB / 1.051 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.864e-06/1.945, allocations: 0 / 1.051 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1012/2.046, allocations: 58.77 MB / 1.109 GB, free: 104.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches