Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001473/0.001473, allocations: 82.02 kB / 21.25 MB, free: 0.5469 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.001811/0.001811, allocations: 165.6 kB / 24.5 MB, free: 3.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 60.3 kB / 325.6 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1078, allocations: 53.39 MB / 379 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00405/0.1118, allocations: 2.609 MB / 381.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1132, allocations: 0.6661 MB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1133, allocations: 4 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1135, allocations: 51.52 kB / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1137, allocations: 91.25 kB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1139, allocations: 87.83 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.1144, allocations: 342.6 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1145, allocations: 64.83 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1147, allocations: 139.4 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1149, allocations: 131.3 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.115, allocations: 32 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.115, allocations: 32 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.1151, allocations: 55.83 kB / 383.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.1153, allocations: 127.4 kB / 383.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.1157, allocations: 330.7 kB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1157, allocations: 0 / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1157, allocations: 0 / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1157, allocations: 0 / 383.7 MB, free: 10.64 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001072/0.1168, allocations: 0.5547 MB / 384.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.1168, allocations: 15.97 kB / 384.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.1169, allocations: 32.75 kB / 384.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.1172, allocations: 221.8 kB / 384.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1173, allocations: 16.88 kB / 384.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.1173, allocations: 24.38 kB / 384.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.1179, allocations: 321.4 kB / 384.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1179, allocations: 4 kB / 384.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.1179, allocations: 4 kB / 384.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1179, allocations: 4 kB / 384.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.1186, allocations: 233.8 kB / 385.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.12, allocations: 0.7199 MB / 385.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.1206, allocations: 162.6 kB / 386 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.1209, allocations: 76.8 kB / 386 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1209, allocations: 4 kB / 386.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004876/0.1214, allocations: 255.7 kB / 386.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1214, allocations: 0 / 386.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00138/0.1227, allocations: 350.1 kB / 386.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.1228, allocations: 132.5 kB / 386.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.1231, allocations: 265.8 kB / 387 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1231, allocations: 25.7 kB / 387.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1233, allocations: 204 kB / 387.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1233, allocations: 43.69 kB / 387.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.1234, allocations: 53.89 kB / 387.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1236, allocations: 334.8 kB / 387.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.1239, allocations: 110.1 kB / 387.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.1243, allocations: 293.4 kB / 388.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.1249, allocations: 276.6 kB / 388.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1249, allocations: 0 / 388.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009216/0.1258, allocations: 400.3 kB / 388.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.1258, allocations: 44.61 kB / 388.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1259, allocations: 8 kB / 388.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.1262, allocations: 60.95 kB / 388.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.1264, allocations: 47.91 kB / 388.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.1281, allocations: 1.45 MB / 390.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.1284, allocations: 51.75 kB / 390.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1284, allocations: 8 kB / 390.4 MB, free: 3.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.1286, allocations: 149 kB / 390.5 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.1286, allocations: 27.8 kB / 390.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.1287, allocations: 29.83 kB / 390.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1287, allocations: 4 kB / 390.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1287, allocations: 0 / 390.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1287, allocations: 0 / 390.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.1297, allocations: 0.5143 MB / 391.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1297, allocations: 4 kB / 391.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1299, allocations: 19.98 kB / 391.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.1301, allocations: 52.8 kB / 391.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1301, allocations: 4 kB / 391.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.1317, allocations: 1.442 MB / 392.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1317, allocations: 0 / 392.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.1324, allocations: 355.6 kB / 393 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.1325, allocations: 15.86 kB / 393 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1325, allocations: 8 kB / 393 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.1328, allocations: 31.95 kB / 393 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.1329, allocations: 23.97 kB / 393.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1329, allocations: 4 kB / 393.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.1331, allocations: 185.2 kB / 393.3 MB, free: 380 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1331, allocations: 3.938 kB / 393.3 MB, free: 376 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.1334, allocations: 67.89 kB / 393.3 MB, free: 308 kB / 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.1336, allocations: 107.2 kB / 393.4 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008867/0.1345, allocations: 395.5 kB / 393.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1345, allocations: 0 / 393.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.1349, allocations: 207.2 kB / 394 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.1353, allocations: 52.34 kB / 394.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1367, allocations: 0.4925 MB / 394.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.1368, allocations: 138.2 kB / 394.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.699e-05/0.1369, allocations: 22.3 kB / 394.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.137, allocations: 20.5 kB / 394.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.137, allocations: 0 / 394.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Templates: time 0.008262/0.1452, allocations: 3.809 MB / 398.5 MB, free: 11.03 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.533532653935254]