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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 101 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.45 kB / 306.3 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 50.54 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004502/0.114, allocations: 2.789 MB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1155, allocations: 0.709 MB / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.1158, allocations: 4 kB / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.116, allocations: 35.75 kB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.1163, allocations: 75.34 kB / 360.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1166, allocations: 79.91 kB / 360.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.117, allocations: 338.6 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1171, allocations: 69.14 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.1174, allocations: 123.5 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1176, allocations: 139.4 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.1176, allocations: 16 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.185e-05/0.1177, allocations: 20 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.1177, allocations: 51.7 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1179, allocations: 135.3 kB / 361.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.1182, allocations: 303.1 kB / 361.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1182, allocations: 4 kB / 361.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1182, allocations: 0 / 361.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1182, allocations: 0 / 361.7 MB, free: 9.637 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.001225/0.1194, allocations: 0.638 MB / 362.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1195, allocations: 8.031 kB / 362.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.1196, allocations: 32.56 kB / 362.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1199, allocations: 271.5 kB / 362.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1199, allocations: 20.81 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.12, allocations: 16.38 kB / 362.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.1206, allocations: 286 kB / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1206, allocations: 0 / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.1207, allocations: 8 kB / 362.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1207, allocations: 8 kB / 362.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.1214, allocations: 245.6 kB / 363.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.123, allocations: 0.8985 MB / 364.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.1245, allocations: 447.4 kB / 364.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.1248, allocations: 92.72 kB / 364.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1248, allocations: 4 kB / 364.6 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004433/0.1253, allocations: 165.8 kB / 364.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1253, allocations: 0 / 364.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001982/0.1273, allocations: 0.5731 MB / 365.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.1274, allocations: 110.8 kB / 365.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.1277, allocations: 266.7 kB / 365.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1277, allocations: 29.69 kB / 365.8 MB, free: 5.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1278, allocations: 199.5 kB / 365.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1279, allocations: 27.62 kB / 366 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.128, allocations: 53.59 kB / 366 MB, free: 4.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1281, allocations: 330.8 kB / 366.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.1284, allocations: 99.91 kB / 366.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.1288, allocations: 206.6 kB / 366.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.1295, allocations: 297.5 kB / 366.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1295, allocations: 0 / 366.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001205/0.1307, allocations: 431.8 kB / 367.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.1308, allocations: 33.7 kB / 367.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1308, allocations: 4.062 kB / 367.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.1311, allocations: 56.81 kB / 367.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.1313, allocations: 59.89 kB / 367.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.1333, allocations: 1.497 MB / 369 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.1336, allocations: 55.81 kB / 369.1 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.1336, allocations: 8.078 kB / 369.1 MB, free: 1.664 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.0001574/0.1338, allocations: 154.3 kB / 369.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.1338, allocations: 19.72 kB / 369.2 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.1339, allocations: 29.64 kB / 369.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1339, allocations: 4 kB / 369.3 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1339, allocations: 4 kB / 369.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1339, allocations: 0 / 369.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1352, allocations: 0.6399 MB / 369.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1353, allocations: 3.938 kB / 369.9 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1354, allocations: 27.97 kB / 369.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.1356, allocations: 56.81 kB / 370 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1357, allocations: 4 kB / 370 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1816/0.3172, allocations: 1.479 MB / 371.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.3173, allocations: 3.828 kB / 371.5 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3186, allocations: 388.1 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3188, allocations: 105.7 kB / 372 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.3188, allocations: 5.844 kB / 372 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.3192, allocations: 30.34 kB / 372 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.3193, allocations: 20.42 kB / 372 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3193, allocations: 7.078 kB / 372 MB, free: 19.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.3196, allocations: 192.6 kB / 372.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3196, allocations: 0 / 372.2 MB, free: 19.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.3201, allocations: 62.11 kB / 372.3 MB, free: 19.61 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.0001638/0.3202, allocations: 106.6 kB / 372.4 MB, free: 19.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3213, allocations: 385.3 kB / 372.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3213, allocations: 4.719 kB / 372.8 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.3218, allocations: 207.6 kB / 373 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.3223, allocations: 47.03 kB / 373 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3237, allocations: 0.5118 MB / 373.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.324, allocations: 0.7459 MB / 374.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.3242, allocations: 24.02 kB / 374.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.3243, allocations: 19.95 kB / 374.3 MB, free: 18.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3243, allocations: 0 / 374.3 MB, free: 18.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01009/0.3344, allocations: 3.201 MB / 377.5 MB, free: 18.11 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches