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.001565/0.001571, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 209.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.1 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 54.47 kB / 307.1 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 50.53 MB / 357.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004237/0.1312, allocations: 2.803 MB / 360.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1326, allocations: 0.7012 MB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.1329, allocations: 8 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1331, allocations: 35.7 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1333, allocations: 71.45 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1336, allocations: 79.86 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.134, allocations: 346.6 kB / 361.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.1343, allocations: 84.7 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1345, allocations: 135.4 kB / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1347, allocations: 151.4 kB / 362.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.1347, allocations: 28 kB / 362.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.1348, allocations: 28 kB / 362.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.1349, allocations: 59.77 kB / 362.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.135, allocations: 147.2 kB / 362.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1353, allocations: 243.7 kB / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1353, allocations: 0 / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1353, allocations: 0 / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1354, allocations: 4 kB / 362.5 MB, free: 9.27 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.001284/0.1366, allocations: 0.6379 MB / 363.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1367, allocations: 8.031 kB / 363.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.1368, allocations: 32.56 kB / 363.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.1371, allocations: 279.4 kB / 363.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1372, allocations: 16.81 kB / 363.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.1372, allocations: 16.38 kB / 363.5 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.1379, allocations: 282.1 kB / 363.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1379, allocations: 3.984 kB / 363.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.1379, allocations: 8 kB / 363.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1379, allocations: 8 kB / 363.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.1387, allocations: 249.5 kB / 364.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1403, allocations: 0.9024 MB / 365 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.1417, allocations: 443.5 kB / 365.4 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.142, allocations: 100.7 kB / 365.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1421, allocations: 0 / 365.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004875/0.1426, allocations: 165.9 kB / 365.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.644e-06/0.1426, allocations: 0 / 365.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001961/0.1446, allocations: 0.5731 MB / 366.2 MB, free: 5.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.1447, allocations: 106.8 kB / 366.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.145, allocations: 274.7 kB / 366.6 MB, free: 4.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.145, allocations: 30.08 kB / 366.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1451, allocations: 195.5 kB / 366.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1452, allocations: 27.61 kB / 366.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.1453, allocations: 49.61 kB / 366.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1454, allocations: 334.7 kB / 367.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.1457, allocations: 99.91 kB / 367.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.1461, allocations: 202.7 kB / 367.5 MB, free: 3.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.1468, allocations: 297.4 kB / 367.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1468, allocations: 4 kB / 367.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001159/0.148, allocations: 427.2 kB / 368.2 MB, free: 3.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.148, allocations: 37.7 kB / 368.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1481, allocations: 0 / 368.3 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/0.1484, allocations: 64.81 kB / 368.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1486, allocations: 59.89 kB / 368.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.1508, allocations: 1.601 MB / 370 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.1511, allocations: 55.7 kB / 370.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.1512, allocations: 12 kB / 370.1 MB, free: 1.168 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.0001649/0.1513, allocations: 154.4 kB / 370.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1514, allocations: 27.66 kB / 370.2 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.1515, allocations: 25.7 kB / 370.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1515, allocations: 0 / 370.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1515, allocations: 0 / 370.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1515, allocations: 4 kB / 370.3 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.1528, allocations: 0.6318 MB / 370.9 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1529, allocations: 4 kB / 370.9 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.153, allocations: 23.97 kB / 370.9 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.1532, allocations: 60.81 kB / 371 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1533, allocations: 0 / 371 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1664/0.3197, allocations: 1.597 MB / 372.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.3198, allocations: 1.812 kB / 372.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3209, allocations: 398.5 kB / 373 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3211, allocations: 99.47 kB / 373.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.3211, allocations: 10.73 kB / 373.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.3214, allocations: 33.5 kB / 373.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.3215, allocations: 15.41 kB / 373.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3216, allocations: 6.578 kB / 373.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.3218, allocations: 189.5 kB / 373.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3218, allocations: 0 / 373.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.3223, allocations: 67.72 kB / 373.4 MB, free: 19.24 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.000157/0.3225, allocations: 104.4 kB / 373.5 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3235, allocations: 402 kB / 373.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3236, allocations: 1.031 kB / 373.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.324, allocations: 199 kB / 374.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.3245, allocations: 50.56 kB / 374.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3258, allocations: 0.5398 MB / 374.7 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3261, allocations: 0.7419 MB / 375.4 MB, free: 17.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.3262, allocations: 21.67 kB / 375.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3262, allocations: 0.5 kB / 375.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of Templates: time 0.00958/0.3357, allocations: 4.122 MB / 379.6 MB, free: 17.54 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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches