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.002018/0.002018, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001925/0.001925, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001627/0.001627, allocations: 55.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2687, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004968/0.2736, allocations: 2.591 MB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2752, allocations: 0.6739 MB / 434.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002407/0.2755, allocations: 7.938 kB / 434.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.2757, allocations: 43.58 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.2759, allocations: 87.27 kB / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.2763, allocations: 99.81 kB / 435.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.2767, allocations: 342.7 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.2769, allocations: 64.55 kB / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.2771, allocations: 135.4 kB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.2774, allocations: 155.3 kB / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.2775, allocations: 36 kB / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.2775, allocations: 28 kB / 435.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.2776, allocations: 55.83 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2777, allocations: 123.4 kB / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.2782, allocations: 321.2 kB / 436.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.2782, allocations: 7.938 kB / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2782, allocations: 0 / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.2782, allocations: 0 / 436.4 MB, free: 1.926 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.001328/0.2795, allocations: 0.5702 MB / 436.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2795, allocations: 8.031 kB / 436.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.2796, allocations: 32.75 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.28, allocations: 221.8 kB / 437.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2801, allocations: 12.81 kB / 437.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.2801, allocations: 24.36 kB / 437.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.2808, allocations: 329.5 kB / 437.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2808, allocations: 3.984 kB / 437.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.2809, allocations: 8 kB / 437.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2809, allocations: 4 kB / 437.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.2816, allocations: 245.5 kB / 437.8 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.2833, allocations: 0.7709 MB / 438.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.2848, allocations: 358.4 kB / 438.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.2851, allocations: 88.72 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2851, allocations: 4 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.2856, allocations: 225.2 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2856, allocations: 0 / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002117/0.2877, allocations: 0.4979 MB / 439.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/0.2878, allocations: 114.7 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.2881, allocations: 257.8 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2882, allocations: 29.7 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.2883, allocations: 199.9 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.2884, allocations: 32.08 kB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.2885, allocations: 49.7 kB / 440.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2886, allocations: 330.8 kB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.289, allocations: 117.6 kB / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.2895, allocations: 290.7 kB / 441.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.2902, allocations: 304.3 kB / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2902, allocations: 4 kB / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001282/0.2915, allocations: 457.6 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.2916, allocations: 37.77 kB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2916, allocations: 7.938 kB / 441.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/0.2919, allocations: 56.81 kB / 442 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2921, allocations: 55.89 kB / 442 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.2945, allocations: 1.475 MB / 443.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.2949, allocations: 59.89 kB / 443.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2949, allocations: 12 kB / 443.6 MB, free: 10.21 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.0001823/0.2951, allocations: 145.8 kB / 443.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.2951, allocations: 15.91 kB / 443.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.2952, allocations: 29.64 kB / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2952, allocations: 0 / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.2952, allocations: 0 / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2952, allocations: 0 / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.2966, allocations: 0.5612 MB / 444.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2966, allocations: 0 / 444.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2967, allocations: 23.97 kB / 444.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.297, allocations: 60.75 kB / 444.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.297, allocations: 4 kB / 444.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.2991, allocations: 1.471 MB / 445.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.2991, allocations: 3.938 kB / 445.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3002, allocations: 396.2 kB / 446.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.3003, allocations: 31.78 kB / 446.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.3003, allocations: 7.938 kB / 446.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3006, allocations: 31.95 kB / 446.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.3006, allocations: 19.92 kB / 446.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3006, allocations: 7.984 kB / 446.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.3008, allocations: 185.2 kB / 446.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 446.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003909/0.3012, allocations: 63.89 kB / 446.6 MB, free: 7 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.0001468/0.3014, allocations: 99.25 kB / 446.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3024, allocations: 415.4 kB / 447.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3024, allocations: 0 / 447.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.3029, allocations: 203.4 kB / 447.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3033, allocations: 36.53 kB / 447.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3044, allocations: 452 kB / 447.8 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3045, allocations: 134.2 kB / 447.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3046, allocations: 25.94 kB / 447.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.3047, allocations: 23.38 kB / 448 MB, free: 5.539 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3047, allocations: 0 / 448 MB, free: 5.539 MB / 350.1 MB Notification: Performance of Templates: time 0.009361/0.314, allocations: 3.902 MB / 451.9 MB, free: 1.703 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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.933570652734488]