Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009951/0.0009951, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 161.5 kB / 24.99 MB, free: 8.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.87e-05, allocations: 2.312 kB / 273.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004464/0.004492, allocations: 2.767 MB / 275.9 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.005951, allocations: 0.6933 MB / 276.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.006125, allocations: 4 kB / 276.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.006291, allocations: 43.52 kB / 276.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.006512, allocations: 103.2 kB / 276.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.006858, allocations: 91.81 kB / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.007325, allocations: 358.4 kB / 277.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.007518, allocations: 64.83 kB / 277.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.007823, allocations: 191.5 kB / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.008007, allocations: 107.7 kB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.008061, allocations: 28 kB / 277.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.653e-05/0.008108, allocations: 32 kB / 277.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.008173, allocations: 63.69 kB / 277.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.0083, allocations: 111.7 kB / 277.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.008636, allocations: 215.2 kB / 277.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.008641, allocations: 0 / 277.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008642, allocations: 0 / 277.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.008649, allocations: 0 / 277.9 MB, free: 12.91 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001071/0.00972, allocations: 0.6469 MB / 278.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.009767, allocations: 8.031 kB / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.009886, allocations: 48.75 kB / 278.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.01027, allocations: 212.1 kB / 278.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.01029, allocations: 12.88 kB / 278.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.01033, allocations: 24.38 kB / 278.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.01084, allocations: 281 kB / 279.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01085, allocations: 192 / 279.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.01088, allocations: 12.38 kB / 279.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.01089, allocations: 7.938 kB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.01113, allocations: 86.94 kB / 279.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.01246, allocations: 0.84 MB / 280.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.0131, allocations: 179 kB / 280.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.01318, allocations: 31.67 kB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.01321, allocations: 4 kB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.0145, allocations: 167.4 kB / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 3.367e-06/0.01451, allocations: 0 / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007379/0.01524, allocations: 252.9 kB / 280.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.0153, allocations: 114.8 kB / 280.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.01552, allocations: 304.2 kB / 281.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01554, allocations: 25.7 kB / 281.2 MB, free: 9.426 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01565, allocations: 242.6 kB / 281.4 MB, free: 9.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.4e-05/0.01567, allocations: 39.69 kB / 281.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.01574, allocations: 51.36 kB / 281.5 MB, free: 9.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.01585, allocations: 0.5001 MB / 282 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.01592, allocations: 61.61 kB / 282.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.01606, allocations: 252.7 kB / 282.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.01623, allocations: 221.2 kB / 282.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01623, allocations: 4 kB / 282.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003674/0.0166, allocations: 304.2 kB / 282.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.01663, allocations: 34.09 kB / 282.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01664, allocations: 8 kB / 282.9 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.01685, allocations: 47.61 kB / 282.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.01697, allocations: 43.97 kB / 282.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/0.01791, allocations: 1.783 MB / 284.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.01806, allocations: 47.95 kB / 284.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01807, allocations: 11.98 kB / 284.8 MB, free: 5.461 MB / 266.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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (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,1)} Notification: Performance of prepare postOptimizeDAE: time 9.485e-05/0.01817, allocations: 176.5 kB / 285 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.01819, allocations: 19.91 kB / 285 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.01822, allocations: 21.77 kB / 285 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01822, allocations: 4 kB / 285 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01822, allocations: 3.938 kB / 285 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01823, allocations: 0 / 285 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.01867, allocations: 472.9 kB / 285.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01867, allocations: 0 / 285.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.01873, allocations: 23.86 kB / 285.5 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.01883, allocations: 47.66 kB / 285.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.01884, allocations: 4 kB / 285.5 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007246/0.01957, allocations: 1.763 MB / 287.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01957, allocations: 4.125 kB / 287.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.01981, allocations: 303.2 kB / 287.6 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.01983, allocations: 27.8 kB / 287.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.01985, allocations: 0 / 287.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01995, allocations: 27.97 kB / 287.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.02001, allocations: 19.91 kB / 287.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.02002, allocations: 8 kB / 287.7 MB, free: 2.352 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.02013, allocations: 205.1 kB / 287.9 MB, free: 2.152 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02013, allocations: 0 / 287.9 MB, free: 2.152 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.02036, allocations: 63.94 kB / 288 MB, free: 2.09 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: 3 ($whenCondition1,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 (9): * Single equations (assignments): 6 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.02047, allocations: 99.25 kB / 288 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.02082, allocations: 364.2 kB / 288.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02082, allocations: 4.125 kB / 288.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.02094, allocations: 205.5 kB / 288.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.0212, allocations: 46.92 kB / 288.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.02197, allocations: 394.7 kB / 289 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.181e-05/0.02202, allocations: 84.17 kB / 289.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.02209, allocations: 29.92 kB / 289.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.02213, allocations: 24.5 kB / 289.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02213, allocations: 4 kB / 289.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of Templates: time 0.005439/0.02757, allocations: 3.642 MB / 292.8 MB, free: 13.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.000609293114394]