Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 157.1 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.03/1.03, allocations: 177 MB / 205.2 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273 MB, free: 1.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.649e-05, allocations: 2.312 kB / 273 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003343/0.00337, allocations: 2.771 MB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004646, allocations: 0.6893 MB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.004853, allocations: 4 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.004987, allocations: 39.58 kB / 276.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.005162, allocations: 103.1 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.005407, allocations: 87.75 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.005731, allocations: 362.3 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.005898, allocations: 60.75 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.006128, allocations: 199.5 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.006273, allocations: 115.6 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.006322, allocations: 28 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.924e-05/0.006362, allocations: 28 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.00642, allocations: 63.75 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.006522, allocations: 107.7 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.00679, allocations: 219.2 kB / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.006794, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006795, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.0068, allocations: 0 / 277.9 MB, free: 12.79 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007413/0.007542, allocations: 0.6467 MB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.007577, allocations: 11.98 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.007674, allocations: 48.75 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.007955, allocations: 224.1 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.007973, allocations: 20.88 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.008, allocations: 24.38 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.008325, allocations: 266.4 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.008333, allocations: 192 / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.008355, allocations: 12.38 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.008365, allocations: 7.938 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.008522, allocations: 86.94 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.009478, allocations: 0.7504 MB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.009657, allocations: 95.06 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.009714, allocations: 31.67 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.009735, allocations: 8 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.00993, allocations: 212.9 kB / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.009931, allocations: 0 / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005433/0.01047, allocations: 213 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.01053, allocations: 132.5 kB / 280.7 MB, free: 9.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.01074, allocations: 304.2 kB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.01076, allocations: 37.7 kB / 281 MB, free: 9.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01086, allocations: 242.8 kB / 281.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.01089, allocations: 35.69 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.01095, allocations: 59.55 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.01108, allocations: 0.5079 MB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.01115, allocations: 50.16 kB / 281.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.01132, allocations: 290.6 kB / 282.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.01152, allocations: 217.4 kB / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01153, allocations: 0 / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000359/0.01188, allocations: 303.4 kB / 282.7 MB, free: 7.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.01192, allocations: 36.83 kB / 282.7 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01192, allocations: 4 kB / 282.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.01216, allocations: 68.08 kB / 282.8 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01228, allocations: 43.92 kB / 282.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.01333, allocations: 1.843 MB / 284.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.01348, allocations: 47.81 kB / 284.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.01349, allocations: 19.97 kB / 284.7 MB, free: 5.328 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.0136, allocations: 173.4 kB / 284.9 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.01363, allocations: 23.86 kB / 284.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01379, allocations: 37.83 kB / 285 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01379, allocations: 0 / 285 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01379, allocations: 7.984 kB / 285 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.0138, allocations: 3.938 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.01423, allocations: 476.5 kB / 285.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01423, allocations: 4 kB / 285.4 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.01429, allocations: 23.92 kB / 285.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.01444, allocations: 51.62 kB / 285.5 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01445, allocations: 4 kB / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008143/0.01526, allocations: 1.836 MB / 287.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01526, allocations: 0 / 287.3 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.01551, allocations: 299.4 kB / 287.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.01554, allocations: 35.72 kB / 287.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01556, allocations: 192 / 287.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01566, allocations: 27.97 kB / 287.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.01573, allocations: 27.98 kB / 287.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.01574, allocations: 0 / 287.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.01587, allocations: 213.1 kB / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01587, allocations: 0 / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.01614, allocations: 71.89 kB / 288 MB, free: 1.836 MB / 266.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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001424/0.01629, allocations: 99.19 kB / 288.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006832/0.01697, allocations: 378.1 kB / 288.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01697, allocations: 0 / 288.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.01713, allocations: 229.4 kB / 288.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.01743, allocations: 55.73 kB / 288.8 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.01837, allocations: 451.3 kB / 289.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.729e-05/0.01843, allocations: 84.25 kB / 289.3 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.937e-05/0.01851, allocations: 26.28 kB / 289.3 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.01856, allocations: 24.5 kB / 289.3 MB, free: 416 kB / 266.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01856, allocations: 0 / 289.3 MB, free: 416 kB / 266.7 MB Notification: Performance of Templates: time 0.005838/0.02439, allocations: 3.849 MB / 293.2 MB, free: 12.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1997514748945832]