Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.001706/0.001705, allocations: 186 kB / 8.15 MB, free: 0.8555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.2 MB / 213.7 MB, free: 8.562 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001819/0.001818, allocations: 89.31 kB / 261.7 MB, free: 5.121 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/9.999e-06, allocations: 0 / 314.3 MB, free: 2.402 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09843, allocations: 47.57 MB / 361.9 MB, free: 2.707 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.3716, allocations: 78.29 MB / 440.1 MB, free: 9.48 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.372, allocations: 80.27 kB / 440.2 MB, free: 9.438 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.03082/0.4028, allocations: 5.373 MB / 445.6 MB, free: 4.996 MB / 322.8 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.4029, allocations: 11.98 kB / 445.6 MB, free: 4.984 MB / 322.8 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.001977/0.4049, allocations: 0.5814 MB / 446.2 MB, free: 4.379 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.405, allocations: 8.031 kB / 446.2 MB, free: 4.371 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.4052, allocations: 27.62 kB / 446.2 MB, free: 4.344 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.406, allocations: 270.4 kB / 446.5 MB, free: 4.062 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.406, allocations: 9.219 kB / 446.5 MB, free: 4.055 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.4061, allocations: 12 kB / 446.5 MB, free: 4.043 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007276/0.4069, allocations: 150.2 kB / 446.7 MB, free: 3.957 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.4076, allocations: 165.8 kB / 446.8 MB, free: 3.828 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.4076, allocations: 4.781 kB / 446.8 MB, free: 3.824 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.4077, allocations: 0 / 446.8 MB, free: 3.824 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4077, allocations: 4 kB / 446.8 MB, free: 3.82 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.4115, allocations: 0.8712 MB / 447.7 MB, free: 3.035 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.412, allocations: 178.1 kB / 447.9 MB, free: 2.867 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4122, allocations: 49.22 kB / 447.9 MB, free: 2.832 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.4123, allocations: 0 / 447.9 MB, free: 2.832 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.4126, allocations: 117.6 kB / 448 MB, free: 2.715 MB / 322.8 MB Notification: Performance of pre-optimization done (n=11): time 3.637e-06/0.4126, allocations: 7.688 kB / 448 MB, free: 2.711 MB / 322.8 MB Notification: Performance of matching and sorting (n=11): time 0.001051/0.4137, allocations: 173.3 kB / 448.2 MB, free: 2.559 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.4138, allocations: 102.8 kB / 448.3 MB, free: 2.434 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.4142, allocations: 221.9 kB / 448.5 MB, free: 2.246 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.4143, allocations: 29.58 kB / 448.6 MB, free: 2.215 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4145, allocations: 221.6 kB / 448.8 MB, free: 2.004 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.4146, allocations: 39.36 kB / 448.8 MB, free: 1.969 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4146, allocations: 0 / 448.8 MB, free: 1.969 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.4147, allocations: 318.3 kB / 449.1 MB, free: 1.652 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.4149, allocations: 57.78 kB / 449.2 MB, free: 1.621 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.4153, allocations: 139.2 kB / 449.3 MB, free: 1.465 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.4155, allocations: 56.52 kB / 449.4 MB, free: 1.426 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.4155, allocations: 0 / 449.4 MB, free: 1.426 MB / 322.8 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001241/0.4168, allocations: 253 kB / 449.6 MB, free: 1.211 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003176/0.4171, allocations: 1.133 MB / 450.7 MB, free: 12 kB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4172, allocations: 3.938 kB / 450.7 MB, free: 8 kB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.4175, allocations: 38.03 kB / 450.8 MB, free: 15.97 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.4183, allocations: 63.45 kB / 450.8 MB, free: 15.91 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008152/0.4192, allocations: 0.5598 MB / 451.4 MB, free: 15.34 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/0.4201, allocations: 55.91 kB / 451.5 MB, free: 15.29 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.4202, allocations: 8 kB / 451.5 MB, free: 15.28 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4202, allocations: 4 kB / 451.5 MB, free: 15.28 MB / 338.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007737/0.421, allocations: 159.1 kB / 451.6 MB, free: 15.16 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.421, allocations: 4 kB / 451.6 MB, free: 15.15 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.4212, allocations: 24.7 kB / 451.7 MB, free: 15.13 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.4219, allocations: 64.2 kB / 451.7 MB, free: 15.07 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.424, allocations: 1.319 MB / 453 MB, free: 13.68 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.4248, allocations: 47.95 kB / 453.1 MB, free: 13.63 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.4249, allocations: 8 kB / 453.1 MB, free: 13.62 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002075/0.4251, allocations: 49.47 kB / 453.1 MB, free: 13.57 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4253, allocations: 19.72 kB / 453.2 MB, free: 13.55 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.4254, allocations: 21.53 kB / 453.2 MB, free: 13.54 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4254, allocations: 0 / 453.2 MB, free: 13.54 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4255, allocations: 7.984 kB / 453.2 MB, free: 13.53 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4255, allocations: 0 / 453.2 MB, free: 13.53 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.4272, allocations: 0.4986 MB / 453.7 MB, free: 13.05 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.4272, allocations: 0 / 453.7 MB, free: 13.05 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.4278, allocations: 43.78 kB / 453.7 MB, free: 13.02 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.428, allocations: 24.72 kB / 453.8 MB, free: 12.99 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.4281, allocations: 0 / 453.8 MB, free: 12.99 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.4305, allocations: 1.306 MB / 455.1 MB, free: 11.62 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.4306, allocations: 1.688 kB / 455.1 MB, free: 11.62 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001099/0.4317, allocations: 277.3 kB / 455.3 MB, free: 11.36 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.4319, allocations: 104.8 kB / 455.4 MB, free: 11.24 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.432, allocations: 0 / 455.4 MB, free: 11.24 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008769/0.4329, allocations: 43.88 kB / 455.5 MB, free: 11.2 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4331, allocations: 19.66 kB / 455.5 MB, free: 11.18 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4332, allocations: 7.375 kB / 455.5 MB, free: 11.18 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.000416/0.4336, allocations: 166.2 kB / 455.7 MB, free: 11.05 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.00124/0.4349, allocations: 107.7 kB / 455.8 MB, free: 10.95 MB / 338.8 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002978/0.4352, allocations: 105.2 kB / 455.9 MB, free: 10.83 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.4367, allocations: 371.3 kB / 456.2 MB, free: 10.51 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.4368, allocations: 4 kB / 456.2 MB, free: 10.51 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.4373, allocations: 157.6 kB / 456.4 MB, free: 10.36 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007707/0.4381, allocations: 32.33 kB / 456.4 MB, free: 10.34 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.4398, allocations: 305.3 kB / 456.7 MB, free: 10.04 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/0.4406, allocations: 0.7709 MB / 457.5 MB, free: 9.246 MB / 338.8 MB Notification: Performance of SimCode: time 1.813e-06/0.4406, allocations: 4 kB / 457.5 MB, free: 9.242 MB / 338.8 MB Notification: Performance of Templates: time 0.01422/0.4549, allocations: 3.916 MB / 461.4 MB, free: 5.398 MB / 338.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches