Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001074/0.001074, allocations: 179.1 kB / 8.477 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.2 MB / 214.1 MB, free: 5.094 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008941/0.0008941, allocations: 85.94 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.613e-06/6.633e-06, allocations: 0 / 315 MB, free: 41.47 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0702/0.07023, allocations: 47.59 MB / 362.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.3088, allocations: 78.28 MB / 440.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.309, allocations: 76.86 kB / 440.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01532/0.3244, allocations: 5.389 MB / 446.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3244, allocations: 3.812 kB / 446.3 MB, free: 10.27 MB / 314.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.0007626/0.3252, allocations: 0.5749 MB / 446.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3252, allocations: 11.56 kB / 446.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.3253, allocations: 31 kB / 446.9 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3256, allocations: 265.7 kB / 447.2 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3256, allocations: 11.67 kB / 447.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.3256, allocations: 11.56 kB / 447.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002667/0.3259, allocations: 158 kB / 447.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.3262, allocations: 168.1 kB / 447.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3262, allocations: 0 / 447.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3262, allocations: 0 / 447.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3262, allocations: 7.312 kB / 447.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3275, allocations: 0.8584 MB / 448.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3277, allocations: 186 kB / 448.6 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.167e-05/0.3278, allocations: 48.17 kB / 448.6 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.3278, allocations: 4.031 kB / 448.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.3279, allocations: 101.7 kB / 448.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.328, allocations: 0 / 448.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004084/0.3284, allocations: 190.7 kB / 448.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3284, allocations: 102.8 kB / 449 MB, free: 8.465 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3286, allocations: 224 kB / 449.2 MB, free: 8.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3286, allocations: 29.55 kB / 449.3 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.3287, allocations: 165.8 kB / 449.4 MB, free: 8.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3287, allocations: 38.27 kB / 449.5 MB, free: 8.145 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.3287, allocations: 0 / 449.5 MB, free: 8.145 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.3288, allocations: 333.7 kB / 449.8 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.3289, allocations: 44.91 kB / 449.8 MB, free: 7.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.329, allocations: 138.9 kB / 450 MB, free: 7.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.3291, allocations: 52.83 kB / 450 MB, free: 7.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3291, allocations: 7.844 kB / 450 MB, free: 7.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004162/0.3295, allocations: 261.4 kB / 450.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.3297, allocations: 1.137 MB / 451.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3297, allocations: 3.875 kB / 451.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.3299, allocations: 30.81 kB / 451.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3301, allocations: 61.34 kB / 451.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002632/0.3304, allocations: 0.5666 MB / 452.1 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.3307, allocations: 54.55 kB / 452.1 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3308, allocations: 15.52 kB / 452.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-06/0.3308, allocations: 3.844 kB / 452.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002478/0.331, allocations: 167.2 kB / 452.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.331, allocations: 3.891 kB / 452.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.84e-05/0.3311, allocations: 27.67 kB / 452.3 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3313, allocations: 57.47 kB / 452.4 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000661/0.332, allocations: 1.313 MB / 453.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.3323, allocations: 46.95 kB / 453.8 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.3323, allocations: 15.28 kB / 453.8 MB, free: 4.395 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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.0001259/0.3324, allocations: 120.6 kB / 453.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.3325, allocations: 27.22 kB / 453.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.3325, allocations: 16.41 kB / 453.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3325, allocations: 3.906 kB / 453.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3325, allocations: 3.984 kB / 453.9 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3325, allocations: 0 / 453.9 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.3332, allocations: 0.5025 MB / 454.4 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3332, allocations: 0 / 454.4 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3333, allocations: 34.91 kB / 454.5 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.3334, allocations: 31.42 kB / 454.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3334, allocations: 3.719 kB / 454.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000932/0.3344, allocations: 1.301 MB / 455.8 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3344, allocations: 3.906 kB / 455.8 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003334/0.3347, allocations: 268.7 kB / 456.1 MB, free: 18.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3348, allocations: 104.7 kB / 456.2 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.3348, allocations: 3.812 kB / 456.2 MB, free: 18.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.3351, allocations: 46.69 kB / 456.2 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.3352, allocations: 18.91 kB / 456.2 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3352, allocations: 7.844 kB / 456.3 MB, free: 18.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001312/0.3353, allocations: 166.4 kB / 456.4 MB, free: 18.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.3358, allocations: 108.7 kB / 456.5 MB, free: 18.19 MB / 330.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.336, allocations: 102.4 kB / 456.6 MB, free: 18.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.3366, allocations: 384.6 kB / 457 MB, free: 17.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3366, allocations: 1.5 kB / 457 MB, free: 17.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3367, allocations: 158 kB / 457.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.337, allocations: 38.31 kB / 457.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.3377, allocations: 275.6 kB / 457.5 MB, free: 17.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.338, allocations: 0.7713 MB / 458.2 MB, free: 16.89 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.338, allocations: 0 / 458.2 MB, free: 16.89 MB / 330.7 MB Notification: Performance of Templates: time 0.006633/0.3447, allocations: 3.921 MB / 462.2 MB, free: 14.95 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches