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.001955/0.001955, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002364/0.002364, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.639/1.639, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001583/0.001583, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2231, allocations: 53.38 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004667/0.2277, allocations: 2.599 MB / 435 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2293, allocations: 0.6701 MB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.2295, allocations: 3.938 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.2297, allocations: 47.58 kB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.23, allocations: 91.25 kB / 435.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.2304, allocations: 95.83 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.2309, allocations: 350.5 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.231, allocations: 68.55 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.2313, allocations: 131.5 kB / 436.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.2315, allocations: 151.4 kB / 436.6 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.2315, allocations: 32 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.535e-05/0.2316, allocations: 28 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.2317, allocations: 63.77 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2318, allocations: 115.5 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.2322, allocations: 329.6 kB / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2322, allocations: 0 / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2322, allocations: 0 / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2322, allocations: 0 / 437.1 MB, free: 1.969 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.001304/0.2335, allocations: 0.5702 MB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2336, allocations: 11.97 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.2337, allocations: 32.75 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.2341, allocations: 221.8 kB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2341, allocations: 16.81 kB / 438 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.2341, allocations: 20.38 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.2348, allocations: 325.5 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2349, allocations: 0 / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.2349, allocations: 12 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2349, allocations: 8 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007807/0.2357, allocations: 245.5 kB / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.2373, allocations: 0.7709 MB / 439.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.2388, allocations: 362.3 kB / 439.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.2392, allocations: 88.78 kB / 439.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2392, allocations: 0 / 439.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/0.2397, allocations: 221.2 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2397, allocations: 3.938 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002077/0.2418, allocations: 0.494 MB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.2419, allocations: 110.8 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.2422, allocations: 257.8 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2422, allocations: 29.7 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.2423, allocations: 196.3 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.2424, allocations: 43.69 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/0.2425, allocations: 41.7 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2426, allocations: 330.8 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.243, allocations: 129.5 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.2435, allocations: 278.7 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.2442, allocations: 297.4 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.2442, allocations: 11.94 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001261/0.2455, allocations: 449.6 kB / 442.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.2455, allocations: 45.75 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2455, allocations: 4 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.2458, allocations: 52.83 kB / 442.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.2461, allocations: 55.89 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.2483, allocations: 1.479 MB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.2487, allocations: 59.89 kB / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.2487, allocations: 8 kB / 444.3 MB, free: 10.27 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.0001528/0.2488, allocations: 145.7 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.2489, allocations: 23.83 kB / 444.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.2489, allocations: 25.7 kB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.249, allocations: 3.984 kB / 444.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.249, allocations: 3.984 kB / 444.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.249, allocations: 19.86 kB / 444.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.249, allocations: 4 kB / 444.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.2493, allocations: 39.95 kB / 444.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.2494, allocations: 15.97 kB / 444.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001288/0.2507, allocations: 401.4 kB / 445 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00107/0.2517, allocations: 486.4 kB / 445.5 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003087/0.252, allocations: 79.95 kB / 445.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000191/0.2522, allocations: 181.2 kB / 445.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Backend: time 4.1e-07/0.2522, allocations: 64 / 445.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009948/0.2532, allocations: 428.5 kB / 446.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of SimCode: time 0.001014/0.2542, allocations: 0.8662 MB / 447 MB, free: 7.457 MB / 350.1 MB Notification: Performance of Templates: time 0.008696/0.2629, allocations: 4.182 MB / 451.2 MB, free: 3.344 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: 4.689796913000464]