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.001269/0.001269, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001387/0.001387, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 8.008 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+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 0.001552/0.001552, allocations: 43.92 kB / 379.1 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 53.35 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004524/0.2596, allocations: 2.796 MB / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.2612, allocations: 0.7167 MB / 435.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.2614, allocations: 4 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.2616, allocations: 43.52 kB / 436 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.2618, allocations: 95.25 kB / 436.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.2621, allocations: 103.8 kB / 436.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.2626, allocations: 346.6 kB / 436.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.2628, allocations: 60.55 kB / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.263, allocations: 135.5 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.2632, allocations: 147.3 kB / 436.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.2633, allocations: 31.94 kB / 436.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.935e-05/0.2633, allocations: 32 kB / 436.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.2634, allocations: 59.77 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.2636, allocations: 151.2 kB / 437.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.264, allocations: 321.2 kB / 437.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.264, allocations: 4 kB / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.264, allocations: 0 / 437.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.264, allocations: 0 / 437.4 MB, free: 1.879 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.001401/0.2654, allocations: 0.5663 MB / 438 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2654, allocations: 8.031 kB / 438 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.2655, allocations: 32.75 kB / 438 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.2659, allocations: 213.8 kB / 438.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2659, allocations: 16.81 kB / 438.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.266, allocations: 20.38 kB / 438.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.2666, allocations: 282 kB / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2666, allocations: 0 / 438.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.2667, allocations: 15.98 kB / 438.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2667, allocations: 4 kB / 438.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/0.2674, allocations: 241.6 kB / 438.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.2692, allocations: 0.8717 MB / 439.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.2706, allocations: 358.3 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.2709, allocations: 92.72 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.271, allocations: 4 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004564/0.2714, allocations: 161.8 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.2714, allocations: 4 kB / 440.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001997/0.2734, allocations: 0.4982 MB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/0.2735, allocations: 102.8 kB / 440.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.2738, allocations: 273.9 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.2738, allocations: 25.8 kB / 441.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.274, allocations: 199.9 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.274, allocations: 31.73 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2742, allocations: 57.66 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2743, allocations: 338.8 kB / 441.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.2746, allocations: 91.92 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.2751, allocations: 201.5 kB / 442.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.2758, allocations: 304.3 kB / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2758, allocations: 0 / 442.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001178/0.2769, allocations: 431.8 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.277, allocations: 33.7 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.277, allocations: 4 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/0.2773, allocations: 60.88 kB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2775, allocations: 55.89 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.2798, allocations: 1.506 MB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.2801, allocations: 63.8 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2801, allocations: 8 kB / 444.5 MB, free: 10.31 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.0001598/0.2803, allocations: 141.8 kB / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.2804, allocations: 27.73 kB / 444.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.2804, allocations: 25.7 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2804, allocations: 0 / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2804, allocations: 0 / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2804, allocations: 4 kB / 444.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.2818, allocations: 0.6151 MB / 445.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2818, allocations: 0 / 445.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.2819, allocations: 23.97 kB / 445.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.2821, allocations: 60.81 kB / 445.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2821, allocations: 4 kB / 445.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.2841, allocations: 1.498 MB / 446.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2841, allocations: 4.125 kB / 446.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.2851, allocations: 403.9 kB / 447.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.2851, allocations: 19.86 kB / 447.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.2852, allocations: 11.98 kB / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.2854, allocations: 35.97 kB / 447.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.2855, allocations: 15.97 kB / 447.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2855, allocations: 4 kB / 447.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.2857, allocations: 193.2 kB / 447.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2857, allocations: 0 / 447.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.2861, allocations: 63.89 kB / 447.7 MB, free: 6.977 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.0001513/0.2862, allocations: 103.2 kB / 447.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.2872, allocations: 386 kB / 448.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2872, allocations: 0 / 448.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.2877, allocations: 198.6 kB / 448.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.2881, allocations: 56.41 kB / 448.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2892, allocations: 473.4 kB / 448.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.2897, allocations: 0.7478 MB / 449.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.2897, allocations: 27.44 kB / 449.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of SimCode: time 1.272e-06/0.2897, allocations: 0 / 449.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of Templates: time 0.006845/0.2966, allocations: 4.138 MB / 453.8 MB, free: 0.7852 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/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: 7.0935483439825475]