Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009905/0.009905, allocations: 103.2 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002249/0.002249, allocations: 224.6 kB / 25.3 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 259 MB, free: 8.047 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.88 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2543, allocations: 53.36 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004256/0.2586, allocations: 2.798 MB / 436 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2599, allocations: 0.709 MB / 436.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2601, allocations: 7.938 kB / 436.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2602, allocations: 43.56 kB / 436.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2604, allocations: 83.28 kB / 436.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2607, allocations: 107.8 kB / 436.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.2612, allocations: 350.5 kB / 437.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2613, allocations: 61.83 kB / 437.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.2615, allocations: 131.5 kB / 437.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.2617, allocations: 143.4 kB / 437.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.2618, allocations: 32 kB / 437.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.2618, allocations: 28 kB / 437.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.2619, allocations: 71.69 kB / 437.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.2621, allocations: 139.3 kB / 437.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.2625, allocations: 323.9 kB / 438.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2625, allocations: 7.938 kB / 438.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2625, allocations: 0 / 438.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2625, allocations: 0 / 438.2 MB, free: 1.934 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.001263/0.2638, allocations: 0.5702 MB / 438.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2638, allocations: 8.031 kB / 438.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.2639, allocations: 32.75 kB / 438.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.2643, allocations: 217.8 kB / 439 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.2643, allocations: 16.81 kB / 439 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.2644, allocations: 20.38 kB / 439.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.265, allocations: 282 kB / 439.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.265, allocations: 0 / 439.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.2651, allocations: 12 kB / 439.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2651, allocations: 4 kB / 439.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.2658, allocations: 245.6 kB / 439.6 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2674, allocations: 0.8601 MB / 440.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.2689, allocations: 370.3 kB / 440.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.2692, allocations: 92.72 kB / 440.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2692, allocations: 4 kB / 440.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.2697, allocations: 161.8 kB / 441.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.2697, allocations: 7.938 kB / 441.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001886/0.2716, allocations: 0.494 MB / 441.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.2716, allocations: 106.8 kB / 441.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.272, allocations: 269.9 kB / 441.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.272, allocations: 25.7 kB / 442 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.2721, allocations: 195.9 kB / 442.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.2722, allocations: 36.12 kB / 442.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.2723, allocations: 45.7 kB / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2724, allocations: 338.8 kB / 442.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.2728, allocations: 91.92 kB / 442.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.2732, allocations: 205.5 kB / 442.9 MB, free: 13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.2738, allocations: 301.4 kB / 443.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2738, allocations: 0 / 443.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001144/0.275, allocations: 443.2 kB / 443.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.275, allocations: 29.7 kB / 443.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.275, allocations: 4 kB / 443.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.2753, allocations: 60.88 kB / 443.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.2756, allocations: 51.91 kB / 443.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.2778, allocations: 1.509 MB / 445.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2781, allocations: 59.84 kB / 445.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.2781, allocations: 11.98 kB / 445.3 MB, free: 10.36 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.0001747/0.2783, allocations: 141.8 kB / 445.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.2784, allocations: 27.8 kB / 445.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.2784, allocations: 21.7 kB / 445.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2784, allocations: 0 / 445.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2784, allocations: 4.047 kB / 445.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2784, allocations: 7.984 kB / 445.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.2797, allocations: 0.6113 MB / 446.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2797, allocations: 7.938 kB / 446.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2799, allocations: 27.91 kB / 446.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.2801, allocations: 60.81 kB / 446.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2801, allocations: 0 / 446.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.2821, allocations: 1.498 MB / 447.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2822, allocations: 0 / 447.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.2831, allocations: 400.1 kB / 448.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.2832, allocations: 27.86 kB / 448.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.2832, allocations: 4 kB / 448.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.2835, allocations: 35.95 kB / 448.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.2835, allocations: 15.97 kB / 448.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2836, allocations: 4 kB / 448.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.2838, allocations: 197.2 kB / 448.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2838, allocations: 0 / 448.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.2842, allocations: 63.89 kB / 448.4 MB, free: 7.027 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.000133/0.2843, allocations: 103.2 kB / 448.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00093/0.2852, allocations: 381.9 kB / 448.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2852, allocations: 0 / 448.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.2856, allocations: 202.6 kB / 449.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.286, allocations: 49.84 kB / 449.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2871, allocations: 469.8 kB / 449.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.2874, allocations: 0.7478 MB / 450.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.2875, allocations: 35.42 kB / 450.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2875, allocations: 0 / 450.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of Templates: time 0.007217/0.2947, allocations: 4.14 MB / 454.5 MB, free: 0.8359 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.610848058946431]