Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.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.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S") [: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.001857/0.001857, allocations: 181.1 kB / 8.153 MB, free: 2.695 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.2 MB / 213.8 MB, free: 2.129 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 95.95 kB / 261.8 MB, free: 1.449 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.198e-05, allocations: 4 kB / 314.3 MB, free: 12.89 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 47.57 MB / 361.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2773/0.3819, allocations: 81.08 MB / 442.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.3822, allocations: 67.97 kB / 443 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0929/0.4751, allocations: 26.23 MB / 469.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4752, allocations: 8 kB / 469.2 MB, free: 7.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007862/0.476, allocations: 0.6201 MB / 469.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.476, allocations: 8.031 kB / 469.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4762, allocations: 39.56 kB / 469.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.4766, allocations: 257.4 kB / 470.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.4767, allocations: 7.984 kB / 470.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.4768, allocations: 12 kB / 470.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002264/0.477, allocations: 59.97 kB / 470.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.4774, allocations: 137.6 kB / 470.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4774, allocations: 3.938 kB / 470.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.4775, allocations: 7.984 kB / 470.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4775, allocations: 4 kB / 470.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4786, allocations: 461.1 kB / 470.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.4789, allocations: 94.56 kB / 470.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.4791, allocations: 84.89 kB / 471 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.4792, allocations: 7.844 kB / 471 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.4795, allocations: 202.7 kB / 471.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.055e-06/0.4796, allocations: 0 / 471.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006588/0.4802, allocations: 225.8 kB / 471.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.4803, allocations: 158.2 kB / 471.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.4813, allocations: 456.5 kB / 472 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.4813, allocations: 29.81 kB / 472.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.4814, allocations: 155.5 kB / 472.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.4815, allocations: 27.66 kB / 472.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.4816, allocations: 8 kB / 472.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4817, allocations: 320 kB / 472.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.4819, allocations: 63.98 kB / 472.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.4821, allocations: 59.97 kB / 472.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4823, allocations: 47.97 kB / 472.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4823, allocations: 4 kB / 472.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000568/0.4829, allocations: 193.4 kB / 472.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4829, allocations: 4 kB / 472.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4829, allocations: 0 / 472.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4829, allocations: 7.984 kB / 472.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.801e-05/0.483, allocations: 3.938 kB / 472.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.483, allocations: 0 / 472.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.4832, allocations: 12 kB / 472.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.4834, allocations: 119.7 kB / 473.1 MB, free: 3.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002808/0.4837, allocations: 176.6 kB / 473.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/0.4838, allocations: 39.53 kB / 473.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.4841, allocations: 63.25 kB / 473.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4841, allocations: 0 / 473.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4841, allocations: 0 / 473.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.4841, allocations: 3.906 kB / 473.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.4853, allocations: 0.5965 MB / 473.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4853, allocations: 4.125 kB / 473.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.4853, allocations: 0 / 473.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.4854, allocations: 4 kB / 473.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.4854, allocations: 15.98 kB / 474 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4854, allocations: 4 kB / 474 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4854, allocations: 3.906 kB / 474 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006687/0.4861, allocations: 339 kB / 474.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.4868, allocations: 252.5 kB / 474.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.487, allocations: 12 kB / 474.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.4873, allocations: 15.89 kB / 474.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4875, allocations: 35.95 kB / 474.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/0.4877, allocations: 115.8 kB / 474.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 0.0007884/0.4885, allocations: 370.9 kB / 475.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000437/0.4889, allocations: 36 kB / 475.1 MB, free: 1.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.4892, allocations: 123 kB / 475.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.4898, allocations: 266.8 kB / 475.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4898, allocations: 0 / 475.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.4903, allocations: 266.8 kB / 475.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009527/0.4912, allocations: 98.55 kB / 475.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.4929, allocations: 0.5725 MB / 476.4 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/0.4937, allocations: 0.8225 MB / 477.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4937, allocations: 0 / 477.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Templates: time 0.008647/0.5024, allocations: 3.705 MB / 481 MB, free: 11.58 MB / 366.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches