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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9236/0.9236, allocations: 173.4 MB / 202.3 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.072e-05, allocations: 5.266 kB / 269.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002741/0.002761, allocations: 2.725 MB / 272 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.003746, allocations: 0.6585 MB / 272.6 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.003872, allocations: 7.938 kB / 272.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.004, allocations: 45.66 kB / 272.7 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.004147, allocations: 95.14 kB / 272.8 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.004383, allocations: 101.1 kB / 272.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.004676, allocations: 358.4 kB / 273.2 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.004809, allocations: 56.88 kB / 273.3 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.005291, allocations: 192.1 kB / 273.5 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.005414, allocations: 116.3 kB / 273.6 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.00545, allocations: 28 kB / 273.6 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-05/0.005479, allocations: 29.66 kB / 273.6 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.005523, allocations: 63.75 kB / 273.7 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.005602, allocations: 107.7 kB / 273.8 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.005805, allocations: 215.2 kB / 274 MB, free: 4.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.005808, allocations: 0 / 274 MB, free: 4.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005809, allocations: 0.7188 kB / 274 MB, free: 4.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005814, allocations: 0 / 274 MB, free: 4.977 MB / 250.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.0006837/0.006498, allocations: 0.649 MB / 274.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.006527, allocations: 12.03 kB / 274.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.006591, allocations: 44.75 kB / 274.7 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.006802, allocations: 215.7 kB / 274.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.00682, allocations: 16.88 kB / 274.9 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.006845, allocations: 24.36 kB / 275 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.007131, allocations: 261 kB / 275.2 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.00714, allocations: 4.188 kB / 275.2 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.007157, allocations: 8.375 kB / 275.2 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.007164, allocations: 7.938 kB / 275.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.278e-05/0.007257, allocations: 71.44 kB / 275.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.008065, allocations: 0.8437 MB / 276.2 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.008437, allocations: 171 kB / 276.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.008471, allocations: 23.67 kB / 276.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.008487, allocations: 4 kB / 276.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.008628, allocations: 167.4 kB / 276.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.00863, allocations: 0 / 276.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004997/0.009129, allocations: 240.9 kB / 276.7 MB, free: 2.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.009171, allocations: 110.8 kB / 276.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.009325, allocations: 300.1 kB / 277.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.009344, allocations: 37.64 kB / 277.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.00944, allocations: 238.6 kB / 277.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.009462, allocations: 35.72 kB / 277.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.009521, allocations: 55.3 kB / 277.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.009631, allocations: 0.504 MB / 278 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.009676, allocations: 45.69 kB / 278.1 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.009803, allocations: 250 kB / 278.3 MB, free: 312 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.009948, allocations: 217.1 kB / 278.5 MB, free: 28 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00995, allocations: 3.938 kB / 278.5 MB, free: 24 kB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003269/0.01028, allocations: 303.8 kB / 278.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.0103, allocations: 34.11 kB / 278.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01031, allocations: 8 kB / 278.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.01047, allocations: 47.66 kB / 278.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01058, allocations: 51.91 kB / 278.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.01167, allocations: 1.748 MB / 280.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.01181, allocations: 43.94 kB / 280.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.01183, allocations: 16 kB / 280.8 MB, free: 13.63 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 8.573e-05/0.01191, allocations: 172.5 kB / 280.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.01194, allocations: 27.86 kB / 281 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.01197, allocations: 21.77 kB / 281 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01197, allocations: 0 / 281 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01197, allocations: 0 / 281 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01197, allocations: 7.938 kB / 281 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.01234, allocations: 425.5 kB / 281.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01234, allocations: 3.984 kB / 281.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.01239, allocations: 19.98 kB / 281.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.0125, allocations: 47.61 kB / 281.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.01251, allocations: 3.938 kB / 281.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000688/0.0132, allocations: 1.737 MB / 283.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.0132, allocations: 4.062 kB / 283.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01341, allocations: 287.4 kB / 283.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.01344, allocations: 23.86 kB / 283.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.01346, allocations: 7.969 kB / 283.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.01356, allocations: 19.98 kB / 283.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.0136, allocations: 19.97 kB / 283.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.01361, allocations: 0 / 283.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.0137, allocations: 205.1 kB / 283.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0137, allocations: 0 / 283.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000231/0.01393, allocations: 63.89 kB / 283.8 MB, free: 10.38 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 9.181e-05/0.01402, allocations: 103.1 kB / 283.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.0143, allocations: 354.6 kB / 284.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.0143, allocations: 192 / 284.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.01442, allocations: 213.7 kB / 284.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01466, allocations: 49.22 kB / 284.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.01528, allocations: 405.5 kB / 284.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.01532, allocations: 76.33 kB / 285 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.01538, allocations: 25.94 kB / 285 MB, free: 9.062 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01551, allocations: 118.2 kB / 285.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01551, allocations: 0 / 285.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of Templates: time 0.005809/0.02132, allocations: 3.916 MB / 289.1 MB, free: 5.098 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.803298923186958]