Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [: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 4.0.0+maint.om/package.mo): time 0.0009563/0.0009564, allocations: 186.1 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 221.4 MB / 229.9 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009381, allocations: 101.7 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.036e-06, allocations: 4 kB / 336.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1924, allocations: 50.38 MB / 386.9 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08286/0.2753, allocations: 79.9 MB / 466.8 MB, free: 6.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.2755, allocations: 88.31 kB / 466.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01616/0.2917, allocations: 5.523 MB / 472.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.2917, allocations: 4 kB / 472.4 MB, free: 1.289 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001013/0.2928, allocations: 0.571 MB / 473 MB, free: 0.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2928, allocations: 12.03 kB / 473 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.2929, allocations: 27.72 kB / 473 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.2933, allocations: 270.9 kB / 473.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2934, allocations: 4 kB / 473.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.2934, allocations: 12 kB / 473.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002863/0.2937, allocations: 149.6 kB / 473.5 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.294, allocations: 193.1 kB / 473.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.294, allocations: 0 / 473.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.2941, allocations: 0 / 473.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2941, allocations: 8 kB / 473.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.2958, allocations: 0.9478 MB / 474.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.2968, allocations: 375.5 kB / 475 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.2969, allocations: 43.27 kB / 475 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.2969, allocations: 8 kB / 475 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.2971, allocations: 114 kB / 475.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.2971, allocations: 0 / 475.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005292/0.2977, allocations: 183.3 kB / 475.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.2977, allocations: 106.8 kB / 475.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.298, allocations: 225 kB / 475.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.298, allocations: 25.7 kB / 475.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2981, allocations: 175.5 kB / 475.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2982, allocations: 27.61 kB / 475.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.2982, allocations: 1.219 kB / 475.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2983, allocations: 330.8 kB / 476.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/0.2984, allocations: 48 kB / 476.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2986, allocations: 157.5 kB / 476.4 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2987, allocations: 55.95 kB / 476.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2987, allocations: 0 / 476.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006304/0.2993, allocations: 276.3 kB / 476.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2993, allocations: 8 kB / 476.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2994, allocations: 4.031 kB / 476.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.2995, allocations: 32.75 kB / 476.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2997, allocations: 63.91 kB / 476.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.3009, allocations: 1.299 MB / 478.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3013, allocations: 59.81 kB / 478.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3013, allocations: 13.2 kB / 478.2 MB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/0.3014, allocations: 120.4 kB / 478.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.3015, allocations: 27.72 kB / 478.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.3015, allocations: 13.72 kB / 478.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3015, allocations: 3.984 kB / 478.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3016, allocations: 0 / 478.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3016, allocations: 15.78 kB / 478.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.3023, allocations: 0.4968 MB / 478.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3023, allocations: 12.73 kB / 478.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3025, allocations: 27.98 kB / 478.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.127e-05/0.3025, allocations: 32.84 kB / 478.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3026, allocations: 0 / 478.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.3036, allocations: 1.295 MB / 480.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3036, allocations: 3.984 kB / 480.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004654/0.3041, allocations: 288.2 kB / 480.5 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.3042, allocations: 100.8 kB / 480.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.3042, allocations: 0 / 480.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.3045, allocations: 43.97 kB / 480.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.3046, allocations: 15.97 kB / 480.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3046, allocations: 4 kB / 480.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001391/0.3048, allocations: 169.2 kB / 480.8 MB, free: 8.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.3051, allocations: 63.84 kB / 480.9 MB, free: 8.168 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.3053, allocations: 107.2 kB / 481 MB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.3056, allocations: 247.4 kB / 481.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3057, allocations: 0 / 481.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.3058, allocations: 154.5 kB / 481.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3061, allocations: 48.7 kB / 481.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.3067, allocations: 248.6 kB / 481.7 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.3071, allocations: 0.767 MB / 482.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3071, allocations: 0 / 482.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of Templates: time 0.006346/0.3134, allocations: 2.959 MB / 485.4 MB, free: 3.625 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches