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.001328/0.001328, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002264/0.002264, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 14.72 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 1.531/1.531, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001539/0.001539, allocations: 47.92 kB / 371 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2742, allocations: 52.19 MB / 423.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004389/0.2786, allocations: 2.768 MB / 425.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.28, allocations: 0.6817 MB / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.2802, allocations: 7.938 kB / 426.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.2803, allocations: 39.58 kB / 426.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.2806, allocations: 91.25 kB / 426.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.2809, allocations: 95.83 kB / 426.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.2813, allocations: 346.5 kB / 427.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.2815, allocations: 68.89 kB / 427.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2817, allocations: 135.5 kB / 427.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.2819, allocations: 147.4 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.282, allocations: 28 kB / 427.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.282, allocations: 28 kB / 427.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.2821, allocations: 67.7 kB / 427.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2823, allocations: 139.3 kB / 427.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.2827, allocations: 324 kB / 428.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.2827, allocations: 3.984 kB / 428.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2827, allocations: 3.938 kB / 428.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.2827, allocations: 4 kB / 428.1 MB, free: 9.707 MB / 334.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.001318/0.284, allocations: 0.5663 MB / 428.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2841, allocations: 12.03 kB / 428.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.2841, allocations: 28.75 kB / 428.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.2845, allocations: 218 kB / 428.9 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2846, allocations: 16.81 kB / 428.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.2846, allocations: 16.38 kB / 429 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.2853, allocations: 286.1 kB / 429.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2853, allocations: 3.938 kB / 429.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.2853, allocations: 8 kB / 429.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2853, allocations: 11.94 kB / 429.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.2861, allocations: 241.6 kB / 429.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.2878, allocations: 0.8601 MB / 430.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.2894, allocations: 362.3 kB / 430.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.2898, allocations: 92.73 kB / 430.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2898, allocations: 0 / 430.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.2903, allocations: 169.8 kB / 431 MB, free: 6.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.2903, allocations: 0 / 431 MB, free: 6.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002125/0.2924, allocations: 0.4941 MB / 431.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.2925, allocations: 106.8 kB / 431.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.2928, allocations: 273.9 kB / 431.8 MB, free: 5.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.2928, allocations: 25.7 kB / 431.9 MB, free: 5.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.293, allocations: 188 kB / 432 MB, free: 5.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.293, allocations: 39.72 kB / 432.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.2931, allocations: 49.66 kB / 432.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2933, allocations: 342.7 kB / 432.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.2936, allocations: 91.92 kB / 432.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.2941, allocations: 197.6 kB / 432.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.2948, allocations: 305.4 kB / 433 MB, free: 4.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2948, allocations: 0 / 433 MB, free: 4.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001256/0.2961, allocations: 423.9 kB / 433.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.2961, allocations: 37.7 kB / 433.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2961, allocations: 4 kB / 433.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.2965, allocations: 61.25 kB / 433.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.2967, allocations: 55.89 kB / 433.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.2992, allocations: 1.51 MB / 435.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.2996, allocations: 59.83 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.2996, allocations: 12 kB / 435.2 MB, free: 2.137 MB / 334.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.0001531/0.2998, allocations: 137.2 kB / 435.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.2998, allocations: 27.8 kB / 435.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.2999, allocations: 29.7 kB / 435.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.2999, allocations: 0 / 435.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.2999, allocations: 0 / 435.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2999, allocations: 4 kB / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.3013, allocations: 0.6074 MB / 436 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3013, allocations: 0 / 436 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3014, allocations: 27.91 kB / 436 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.3017, allocations: 60.81 kB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3017, allocations: 4 kB / 436.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.3038, allocations: 1.495 MB / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3038, allocations: 0 / 437.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3049, allocations: 392.1 kB / 438 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.3049, allocations: 23.84 kB / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.3049, allocations: 7.938 kB / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.3052, allocations: 35.95 kB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.3053, allocations: 19.97 kB / 438 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3053, allocations: 4 kB / 438 MB, free: 15.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.3055, allocations: 189.4 kB / 438.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3055, allocations: 0 / 438.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.3059, allocations: 67.83 kB / 438.3 MB, free: 14.83 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.0001437/0.306, allocations: 103.2 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3071, allocations: 397.9 kB / 438.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3071, allocations: 0 / 438.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.3075, allocations: 202.5 kB / 439 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3079, allocations: 53.17 kB / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.3089, allocations: 439.8 kB / 439.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.3093, allocations: 0.744 MB / 440.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3094, allocations: 30.28 kB / 440.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.3095, allocations: 23.44 kB / 440.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3095, allocations: 0 / 440.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Templates: time 0.00849/0.318, allocations: 3.697 MB / 444 MB, free: 9.105 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.726338237524033]