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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 114.9 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 46.88 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1036, allocations: 49.46 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003777/0.1074, allocations: 2.722 MB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1085, allocations: 0.6778 MB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1086, allocations: 4 kB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.1088, allocations: 47.56 kB / 355 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.109, allocations: 87.25 kB / 355.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1092, allocations: 95.81 kB / 355.1 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.1096, allocations: 350.5 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1098, allocations: 92.55 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1099, allocations: 127.5 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.1101, allocations: 147.4 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.1102, allocations: 28 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.1102, allocations: 28 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.1103, allocations: 67.69 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1104, allocations: 147.2 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1107, allocations: 322.8 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1107, allocations: 0 / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1108, allocations: 0 / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1108, allocations: 4 kB / 356.4 MB, free: 14.75 MB / 302.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.001162/0.1119, allocations: 0.6301 MB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.112, allocations: 12.02 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.1121, allocations: 28.66 kB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.1124, allocations: 271.7 kB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1125, allocations: 16.81 kB / 357.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.1125, allocations: 20.38 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.1131, allocations: 282 kB / 357.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1131, allocations: 0 / 357.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1132, allocations: 12 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1132, allocations: 4 kB / 357.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.1139, allocations: 241.5 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.1153, allocations: 0.9062 MB / 358.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.1167, allocations: 447.5 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.117, allocations: 92.72 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1171, allocations: 0 / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.1175, allocations: 169.8 kB / 359.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1175, allocations: 3.938 kB / 359.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001924/0.1194, allocations: 0.5731 MB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.1195, allocations: 110.8 kB / 360.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.1197, allocations: 262.7 kB / 360.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1198, allocations: 33.7 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1199, allocations: 191.6 kB / 360.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1199, allocations: 35.53 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.12, allocations: 49.61 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1201, allocations: 338.8 kB / 361.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.1205, allocations: 91.92 kB / 361.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.1209, allocations: 203.8 kB / 361.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.1215, allocations: 300.3 kB / 361.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1215, allocations: 7.984 kB / 361.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001121/0.1227, allocations: 423.9 kB / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.1227, allocations: 33.7 kB / 362.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1227, allocations: 4 kB / 362.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.123, allocations: 60.81 kB / 362.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1233, allocations: 55.95 kB / 362.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.1254, allocations: 1.617 MB / 363.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.1257, allocations: 55.7 kB / 363.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1257, allocations: 12.06 kB / 363.9 MB, free: 6.668 MB / 302.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.0001437/0.1259, allocations: 149.7 kB / 364.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1259, allocations: 27.66 kB / 364.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.126, allocations: 21.7 kB / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.126, allocations: 0 / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.126, allocations: 4 kB / 364.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.126, allocations: 48 / 364.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1273, allocations: 0.6434 MB / 364.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1273, allocations: 3.938 kB / 364.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1274, allocations: 27.97 kB / 364.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.1276, allocations: 56.81 kB / 364.9 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1277, allocations: 4 kB / 364.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.1295, allocations: 1.593 MB / 366.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1295, allocations: 0 / 366.5 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.1304, allocations: 395.8 kB / 366.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.1305, allocations: 104.8 kB / 367 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1305, allocations: 4 kB / 367 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.1308, allocations: 31.95 kB / 367 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.1309, allocations: 23.98 kB / 367 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1309, allocations: 3.984 kB / 367 MB, free: 3.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1311, allocations: 190 kB / 367.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1311, allocations: 0 / 367.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1315, allocations: 56 kB / 367.3 MB, free: 3.102 MB / 302.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.0001372/0.1316, allocations: 115.8 kB / 367.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008631/0.1325, allocations: 382.4 kB / 367.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1325, allocations: 192 / 367.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.1329, allocations: 214.5 kB / 368 MB, free: 2.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1333, allocations: 40.48 kB / 368 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.1342, allocations: 439.6 kB / 368.4 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1344, allocations: 0.7478 MB / 369.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.516e-05/0.1345, allocations: 26.28 kB / 369.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.1346, allocations: 19.44 kB / 369.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1346, allocations: 0 / 369.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of Templates: time 0.1542/0.2888, allocations: 3.518 MB / 372.7 MB, free: 25.13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches