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.00142/0.00142, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001459/0.001459, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.395/1.395, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.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.001496/0.001496, allocations: 51.92 kB / 366.9 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.0949, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003941/0.09884, allocations: 2.741 MB / 421.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.09996, allocations: 0.6778 MB / 422.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1001, allocations: 11.94 kB / 422.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1002, allocations: 35.64 kB / 422.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1004, allocations: 95.19 kB / 422.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1006, allocations: 95.86 kB / 422.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.101, allocations: 346.6 kB / 423 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1012, allocations: 64.7 kB / 423 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1014, allocations: 127.4 kB / 423.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1016, allocations: 151.4 kB / 423.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.1016, allocations: 28 kB / 423.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.1017, allocations: 32 kB / 423.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.1017, allocations: 63.73 kB / 423.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.1019, allocations: 147.3 kB / 423.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.1023, allocations: 318.7 kB / 423.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1023, allocations: 4 kB / 423.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1023, allocations: 0 / 423.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1023, allocations: 0 / 423.9 MB, free: 7.156 MB / 350.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.001247/0.1035, allocations: 0.6377 MB / 424.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1036, allocations: 15.97 kB / 424.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.193e-05/0.1036, allocations: 36.73 kB / 424.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.104, allocations: 279.6 kB / 424.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.104, allocations: 16.8 kB / 424.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.1041, allocations: 20.38 kB / 424.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006367/0.1047, allocations: 278.1 kB / 425.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1047, allocations: 0 / 425.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.1047, allocations: 7.984 kB / 425.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1048, allocations: 4 kB / 425.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.1055, allocations: 253.5 kB / 425.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.1071, allocations: 0.9026 MB / 426.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.1087, allocations: 439.5 kB / 426.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.109, allocations: 88.72 kB / 426.8 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.109, allocations: 7.938 kB / 426.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.1095, allocations: 165.9 kB / 427 MB, free: 3.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1095, allocations: 0 / 427 MB, free: 3.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002139/0.1116, allocations: 0.5694 MB / 427.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.1117, allocations: 118.7 kB / 427.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.112, allocations: 266.7 kB / 428 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.112, allocations: 29.7 kB / 428 MB, free: 2.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1122, allocations: 192 kB / 428.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1122, allocations: 35.73 kB / 428.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.1123, allocations: 49.66 kB / 428.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1124, allocations: 330.8 kB / 428.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.1128, allocations: 99.91 kB / 428.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.1132, allocations: 202.6 kB / 428.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/0.1139, allocations: 296.2 kB / 429.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1139, allocations: 0 / 429.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001208/0.1151, allocations: 431.9 kB / 429.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.1152, allocations: 33.7 kB / 429.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1152, allocations: 8 kB / 429.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.1155, allocations: 68.75 kB / 429.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.1157, allocations: 47.95 kB / 429.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.118, allocations: 1.617 MB / 431.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.1183, allocations: 51.81 kB / 431.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1183, allocations: 15.92 kB / 431.4 MB, free: 15.05 MB / 366.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.0001597/0.1185, allocations: 145.8 kB / 431.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.1185, allocations: 27.8 kB / 431.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.1186, allocations: 25.7 kB / 431.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1186, allocations: 0 / 431.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.1186, allocations: 0 / 431.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1186, allocations: 0 / 431.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1199, allocations: 0.6435 MB / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1199, allocations: 0 / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1201, allocations: 27.97 kB / 432.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/0.1203, allocations: 56.84 kB / 432.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1203, allocations: 8 kB / 432.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.1224, allocations: 1.594 MB / 433.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1224, allocations: 0 / 433.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1234, allocations: 400.1 kB / 434.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.1235, allocations: 93.06 kB / 434.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.1235, allocations: 7.938 kB / 434.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1238, allocations: 31.95 kB / 434.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.1239, allocations: 15.98 kB / 434.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1239, allocations: 11.94 kB / 434.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1241, allocations: 194 kB / 434.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1241, allocations: 0 / 434.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.1244, allocations: 63.89 kB / 434.7 MB, free: 11.48 MB / 366.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.0001436/0.1246, allocations: 111.8 kB / 434.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009633/0.1255, allocations: 381.7 kB / 435.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1255, allocations: 0 / 435.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004404/0.126, allocations: 211.4 kB / 435.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1264, allocations: 50.77 kB / 435.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.1273, allocations: 476.5 kB / 435.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1277, allocations: 0.744 MB / 436.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.1278, allocations: 19.62 kB / 436.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1278, allocations: 0 / 436.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of Templates: time 0.00646/0.1342, allocations: 4.155 MB / 440.9 MB, free: 5.258 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.00280254217796]