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.00183/0.00183, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002324/0.002324, allocations: 189.2 kB / 24.47 MB, free: 4.168 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.459/1.459, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.001778/0.001778, allocations: 43.92 kB / 371.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2687, allocations: 52.17 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004508/0.2733, allocations: 2.779 MB / 426.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2747, allocations: 0.6855 MB / 427.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.2749, allocations: 0 / 427.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.2751, allocations: 47.56 kB / 427.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.2753, allocations: 91.27 kB / 427.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.2756, allocations: 95.81 kB / 427.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.2761, allocations: 354.5 kB / 427.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2763, allocations: 56.92 kB / 428 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2765, allocations: 139.4 kB / 428.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.2767, allocations: 143.4 kB / 428.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.2768, allocations: 32 kB / 428.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.2768, allocations: 28 kB / 428.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.2769, allocations: 63.7 kB / 428.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.2771, allocations: 147.2 kB / 428.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.2775, allocations: 327.9 kB / 428.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2775, allocations: 0 / 428.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2775, allocations: 0 / 428.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2775, allocations: 0 / 428.9 MB, free: 9.703 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.0014/0.2789, allocations: 0.5702 MB / 429.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.279, allocations: 8.031 kB / 429.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.2791, allocations: 32.75 kB / 429.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.2796, allocations: 218 kB / 429.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2796, allocations: 12.81 kB / 429.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.2796, allocations: 32.31 kB / 429.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.2804, allocations: 274.1 kB / 430 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2804, allocations: 0 / 430 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.2804, allocations: 11.98 kB / 430 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2804, allocations: 4 kB / 430 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.2812, allocations: 241.6 kB / 430.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.283, allocations: 0.8756 MB / 431.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2845, allocations: 350.4 kB / 431.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.2848, allocations: 92.72 kB / 431.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.2848, allocations: 4 kB / 431.6 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.2853, allocations: 165.8 kB / 431.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.2853, allocations: 0 / 431.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002059/0.2873, allocations: 0.494 MB / 432.2 MB, free: 6.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.2875, allocations: 114.8 kB / 432.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.2878, allocations: 265.9 kB / 432.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.2879, allocations: 37.62 kB / 432.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.288, allocations: 184 kB / 432.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.2881, allocations: 43.73 kB / 432.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.2882, allocations: 49.66 kB / 432.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2884, allocations: 334.8 kB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.2887, allocations: 91.92 kB / 433.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.2891, allocations: 197.7 kB / 433.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.2898, allocations: 297.4 kB / 433.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2898, allocations: 0 / 433.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001207/0.291, allocations: 435.9 kB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.2911, allocations: 33.7 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2911, allocations: 0 / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003349/0.2914, allocations: 64.88 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.2916, allocations: 51.91 kB / 434.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.294, allocations: 1.51 MB / 435.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.2943, allocations: 59.84 kB / 435.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2944, allocations: 8 kB / 435.9 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.0001766/0.2945, allocations: 145.8 kB / 436.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.2946, allocations: 27.8 kB / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.2946, allocations: 17.72 kB / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2946, allocations: 3.984 kB / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.2946, allocations: 4 kB / 436.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2946, allocations: 7.938 kB / 436.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.2961, allocations: 0.6074 MB / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2961, allocations: 0 / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2962, allocations: 23.98 kB / 436.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.2964, allocations: 60.75 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2964, allocations: 0 / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.2986, allocations: 1.499 MB / 438.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2986, allocations: 4.094 kB / 438.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2997, allocations: 388 kB / 438.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.2997, allocations: 23.84 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.2998, allocations: 8 kB / 438.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.3001, allocations: 35.95 kB / 438.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.3002, allocations: 19.97 kB / 438.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3002, allocations: 4 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.3004, allocations: 193.2 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3004, allocations: 0 / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.3009, allocations: 63.89 kB / 439.1 MB, free: 14.82 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.0001736/0.301, allocations: 111.3 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.302, allocations: 385.9 kB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.302, allocations: 4 kB / 439.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.3025, allocations: 199.2 kB / 439.7 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.0004422/0.3029, allocations: 53.38 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3041, allocations: 469.4 kB / 440.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3046, allocations: 0.744 MB / 441 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.3046, allocations: 27.44 kB / 441 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3046, allocations: 0 / 441 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Templates: time 0.007471/0.3121, allocations: 4.15 MB / 445.2 MB, free: 8.617 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/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: 7.3588615991175175]