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.0008194/0.0008194, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004513/0.004513, allocations: 162.4 kB / 24.7 MB, free: 8.91 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 0.8238/0.8238, allocations: 177.1 MB / 205 MB, free: 5.715 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.954e-06/1.954e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.631e-05, allocations: 2.281 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002739/0.002765, allocations: 2.595 MB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003802, allocations: 0.6855 MB / 329.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003908, allocations: 4 kB / 329.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.004029, allocations: 47.52 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.004164, allocations: 91.25 kB / 329.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.00441, allocations: 95.75 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.004701, allocations: 366.3 kB / 329.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.004853, allocations: 60.77 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.005019, allocations: 195.5 kB / 330 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.005135, allocations: 107.7 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.005172, allocations: 32 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.675e-05/0.005199, allocations: 28 kB / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.005245, allocations: 67.69 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.00533, allocations: 99.75 kB / 330.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.005612, allocations: 334.9 kB / 330.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005614, allocations: 0 / 330.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005616, allocations: 0 / 330.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.005621, allocations: 0 / 330.7 MB, free: 10.6 MB / 298.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.000791/0.006412, allocations: 0.5625 MB / 331.2 MB, free: 10 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.006444, allocations: 12.03 kB / 331.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.006497, allocations: 28.75 kB / 331.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.006749, allocations: 221 kB / 331.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.006764, allocations: 16.88 kB / 331.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.006785, allocations: 16.38 kB / 331.5 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.007179, allocations: 326.7 kB / 331.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.007188, allocations: 192 / 331.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.007209, allocations: 12.38 kB / 331.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.007222, allocations: 15.86 kB / 331.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.007605, allocations: 249.7 kB / 332.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008766/0.008482, allocations: 0.7638 MB / 332.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.009237, allocations: 362.3 kB / 333.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.009392, allocations: 92.72 kB / 333.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.009412, allocations: 0 / 333.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/0.009782, allocations: 217.3 kB / 333.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.009783, allocations: 0 / 333.5 MB, free: 7.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001099/0.01088, allocations: 0.4979 MB / 334 MB, free: 7.051 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.01094, allocations: 106.8 kB / 334.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.01113, allocations: 269.8 kB / 334.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.01115, allocations: 25.7 kB / 334.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.01125, allocations: 199.9 kB / 334.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.01127, allocations: 31.73 kB / 334.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.01132, allocations: 49.66 kB / 334.7 MB, free: 6.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.01145, allocations: 334.8 kB / 335 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.01164, allocations: 121.6 kB / 335.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.01187, allocations: 278.8 kB / 335.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.01229, allocations: 301.8 kB / 335.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01229, allocations: 4 kB / 335.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005904/0.01288, allocations: 461.5 kB / 336.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.01291, allocations: 37.77 kB / 336.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01292, allocations: 4 kB / 336.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.01311, allocations: 64.75 kB / 336.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.01322, allocations: 43.97 kB / 336.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.01446, allocations: 1.499 MB / 337.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.01461, allocations: 51.91 kB / 337.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01462, allocations: 23.92 kB / 337.9 MB, free: 2.879 MB / 298.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.592e-05/0.01472, allocations: 140.5 kB / 338 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.01474, allocations: 19.91 kB / 338 MB, free: 2.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.01476, allocations: 21.77 kB / 338 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01476, allocations: 4 kB / 338.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01477, allocations: 3.938 kB / 338.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01477, allocations: 0 / 338.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.01542, allocations: 0.5535 MB / 338.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01542, allocations: 3.984 kB / 338.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.01548, allocations: 27.91 kB / 338.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.01559, allocations: 56.81 kB / 338.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.0156, allocations: 8 kB / 338.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009377/0.01654, allocations: 1.463 MB / 340.2 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.01654, allocations: 0 / 340.2 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.01701, allocations: 400 kB / 340.6 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.01703, allocations: 19.84 kB / 340.6 MB, free: 0 / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.01706, allocations: 8.047 kB / 340.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.01718, allocations: 31.91 kB / 340.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.01723, allocations: 23.84 kB / 340.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01724, allocations: 12 kB / 340.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.01735, allocations: 181.2 kB / 340.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01735, allocations: 0 / 340.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004505/0.0178, allocations: 64.09 kB / 340.9 MB, free: 15.68 MB / 314.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 8.29e-05/0.01788, allocations: 107.1 kB / 341 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.01838, allocations: 419.4 kB / 341.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01838, allocations: 0 / 341.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.01857, allocations: 199.4 kB / 341.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.0188, allocations: 43.56 kB / 341.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.01936, allocations: 452.1 kB / 342.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.627e-05/0.01944, allocations: 134.2 kB / 342.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.01949, allocations: 24.5 kB / 342.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01949, allocations: 0 / 342.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Templates: time 0.003827/0.02332, allocations: 4.172 MB / 346.4 MB, free: 10.08 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.557096108794212]