Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001173/0.001173, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 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.001264/0.001264, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 255.4 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.84 kB / 374.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1267, allocations: 53.32 MB / 428.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004654/0.1313, allocations: 2.755 MB / 430.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1328, allocations: 0.7206 MB / 431.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1329, allocations: 8 kB / 431.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1331, allocations: 35.58 kB / 431.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1333, allocations: 95.25 kB / 431.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.1336, allocations: 95.81 kB / 431.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.1341, allocations: 354.5 kB / 432.1 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.1343, allocations: 52.72 kB / 432.2 MB, free: 236 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.1345, allocations: 135.5 kB / 432.3 MB, free: 100 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2335/0.368, allocations: 143 kB / 432.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.3681, allocations: 28.44 kB / 432.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3682, allocations: 29.28 kB / 432.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.3683, allocations: 64.38 kB / 432.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.3685, allocations: 143.3 kB / 432.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.3689, allocations: 326.7 kB / 433.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3689, allocations: 2.625 kB / 433.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3689, allocations: 0.5 kB / 433.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.369, allocations: 0.625 kB / 433.1 MB, free: 8.312 MB / 350.1 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.00117/0.3701, allocations: 0.6359 MB / 433.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3702, allocations: 9.25 kB / 433.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.3702, allocations: 33.81 kB / 433.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.3706, allocations: 281 kB / 434 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3706, allocations: 16.88 kB / 434 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.3706, allocations: 17.69 kB / 434 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.3713, allocations: 277.4 kB / 434.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3713, allocations: 3.938 kB / 434.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3713, allocations: 8.594 kB / 434.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3713, allocations: 5.156 kB / 434.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.372, allocations: 243.9 kB / 434.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3733, allocations: 0.9107 MB / 435.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.3748, allocations: 430.4 kB / 435.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.3751, allocations: 89.59 kB / 436 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3751, allocations: 4.906 kB / 436 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/0.3755, allocations: 169.8 kB / 436.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.3755, allocations: 0 / 436.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002067/0.3776, allocations: 0.5734 MB / 436.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.3776, allocations: 106.5 kB / 436.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.3779, allocations: 275 kB / 437.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3779, allocations: 31.59 kB / 437.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3781, allocations: 193.3 kB / 437.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3781, allocations: 37.27 kB / 437.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.3782, allocations: 48.09 kB / 437.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.18e-05/0.3782, allocations: 335.8 kB / 437.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.3786, allocations: 93.44 kB / 437.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.379, allocations: 205.9 kB / 438 MB, free: 5.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.3796, allocations: 293.1 kB / 438.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3796, allocations: 1.5 kB / 438.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001184/0.3808, allocations: 434.2 kB / 438.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.3809, allocations: 33.78 kB / 438.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3809, allocations: 6.078 kB / 438.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/0.3812, allocations: 64.88 kB / 438.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3814, allocations: 51.03 kB / 438.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.3833, allocations: 1.6 MB / 440.5 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.3837, allocations: 61.84 kB / 440.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3837, allocations: 13.44 kB / 440.6 MB, free: 4.164 MB / 350.1 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 0.0001333/0.3839, allocations: 135.4 kB / 440.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3839, allocations: 27.05 kB / 440.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.384, allocations: 32.28 kB / 440.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.384, allocations: 5.188 kB / 440.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.384, allocations: 0 / 440.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.384, allocations: 2.25 kB / 440.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.3853, allocations: 0.6379 MB / 441.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3853, allocations: 0.5625 kB / 441.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3854, allocations: 32.14 kB / 441.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.3856, allocations: 55.59 kB / 441.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3856, allocations: 2.297 kB / 441.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.3873, allocations: 1.606 MB / 443.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3873, allocations: 4.125 kB / 443.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.3883, allocations: 390.2 kB / 443.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.3884, allocations: 100.7 kB / 443.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3884, allocations: 5.781 kB / 443.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.3886, allocations: 35.69 kB / 443.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.3887, allocations: 14.89 kB / 443.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3887, allocations: 3.547 kB / 443.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.3889, allocations: 192.3 kB / 443.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3889, allocations: 0 / 443.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.3893, allocations: 66.77 kB / 443.9 MB, free: 1.965 MB / 350.1 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.0001249/0.3894, allocations: 109.9 kB / 444 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009169/0.3904, allocations: 384 kB / 444.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3904, allocations: 1.156 kB / 444.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.3908, allocations: 204.6 kB / 444.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3911, allocations: 53.03 kB / 444.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.3921, allocations: 476.4 kB / 445.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.3923, allocations: 0.7479 MB / 445.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.3924, allocations: 20.69 kB / 445.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3924, allocations: 3.188 kB / 445.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of Templates: time 0.007739/0.4002, allocations: 4.155 MB / 450 MB, free: 332 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.4239949700422585]