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.001599/0.0016, allocations: 123.4 kB / 18.41 MB, free: 4.508 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.001662/0.001663, allocations: 196.3 kB / 21.35 MB, free: 1.582 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.422/1.422, allocations: 222.9 MB / 247 MB, free: 4.348 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.001559/0.001559, allocations: 51.92 kB / 358.7 MB, free: 8.426 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 49.43 MB / 408.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.006297/0.1143, allocations: 2.73 MB / 410.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1161, allocations: 0.67 MB / 411.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1163, allocations: 4 kB / 411.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1165, allocations: 47.52 kB / 411.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1168, allocations: 87.25 kB / 411.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1172, allocations: 95.83 kB / 411.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.1178, allocations: 354.5 kB / 412.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.1181, allocations: 84.72 kB / 412.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1183, allocations: 131.5 kB / 412.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1186, allocations: 143.4 kB / 412.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.929e-05/0.1187, allocations: 28 kB / 412.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.1188, allocations: 28 kB / 412.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.1189, allocations: 67.7 kB / 412.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.1191, allocations: 135.3 kB / 412.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.1196, allocations: 326.6 kB / 413 MB, free: 2.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1196, allocations: 7.938 kB / 413 MB, free: 2.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1197, allocations: 4 kB / 413 MB, free: 2.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1197, allocations: 0 / 413 MB, free: 2.004 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.001716/0.1214, allocations: 0.6395 MB / 413.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1215, allocations: 12.03 kB / 413.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.928e-05/0.1216, allocations: 32.75 kB / 413.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006028/0.1222, allocations: 279.6 kB / 414 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.1222, allocations: 16.81 kB / 414 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.1223, allocations: 20.38 kB / 414 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009265/0.1232, allocations: 278.1 kB / 414.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1233, allocations: 3.938 kB / 414.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.1233, allocations: 8 kB / 414.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1233, allocations: 4 kB / 414.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.1244, allocations: 245.6 kB / 414.6 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.1267, allocations: 0.9065 MB / 415.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.129, allocations: 439.4 kB / 415.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.1294, allocations: 96.72 kB / 416 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.1295, allocations: 0 / 416 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006506/0.1301, allocations: 165.8 kB / 416.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.1302, allocations: 0 / 416.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002996/0.1332, allocations: 0.581 MB / 416.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.1333, allocations: 106.8 kB / 416.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1338, allocations: 270.7 kB / 417.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.1338, allocations: 29.7 kB / 417.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.134, allocations: 192 kB / 417.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.1341, allocations: 31.73 kB / 417.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1343, allocations: 53.66 kB / 417.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1345, allocations: 342.8 kB / 417.7 MB, free: 13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.135, allocations: 95.92 kB / 417.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.1356, allocations: 196.8 kB / 418 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1367, allocations: 309.2 kB / 418.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1367, allocations: 0 / 418.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001808/0.1385, allocations: 431.9 kB / 418.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.1386, allocations: 37.69 kB / 418.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1386, allocations: 4 kB / 418.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.1391, allocations: 56.81 kB / 418.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.1394, allocations: 55.97 kB / 418.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.1427, allocations: 1.613 MB / 420.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.1433, allocations: 51.75 kB / 420.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.1433, allocations: 12 kB / 420.6 MB, free: 9.906 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.0002414/0.1436, allocations: 138.3 kB / 420.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.1436, allocations: 27.8 kB / 420.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.359e-05/0.1437, allocations: 25.7 kB / 420.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1437, allocations: 4 kB / 420.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1437, allocations: 0 / 420.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.1437, allocations: 3.984 kB / 420.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.1457, allocations: 0.6437 MB / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.1457, allocations: 3.984 kB / 421.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.1459, allocations: 23.92 kB / 421.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.1463, allocations: 60.81 kB / 421.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1463, allocations: 0 / 421.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.1493, allocations: 1.605 MB / 423.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1494, allocations: 3.938 kB / 423.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1509, allocations: 388 kB / 423.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1511, allocations: 105 kB / 423.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.1511, allocations: 0 / 423.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.1515, allocations: 31.97 kB / 423.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1516, allocations: 23.97 kB / 423.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1517, allocations: 0 / 423.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003749/0.152, allocations: 198 kB / 423.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1521, allocations: 0 / 423.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.1527, allocations: 63.89 kB / 423.9 MB, free: 6.324 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.0002051/0.1529, allocations: 103.7 kB / 424 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1543, allocations: 398.4 kB / 424.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1543, allocations: 0 / 424.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006153/0.155, allocations: 210.6 kB / 424.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.1555, allocations: 51.91 kB / 424.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.157, allocations: 464.7 kB / 425.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.1575, allocations: 0.744 MB / 425.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.1577, allocations: 19.44 kB / 425.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1577, allocations: 0 / 425.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of Templates: time 0.009646/0.1673, allocations: 4.152 MB / 430 MB, free: 112 kB / 350.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.356148369028233]