Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001064/0.001064, allocations: 92.78 kB / 16.95 MB, free: 6.449 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.001041/0.001041, allocations: 183.2 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004599, allocations: 8 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 47.59 MB / 328.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003388/0.1317, allocations: 2.283 MB / 330.7 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1331, allocations: 0.6868 MB / 331.3 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1333, allocations: 4 kB / 331.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1334, allocations: 27.77 kB / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.1336, allocations: 75.39 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.1339, allocations: 71.91 kB / 331.5 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.1342, allocations: 310.6 kB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1344, allocations: 69.08 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.1346, allocations: 107.6 kB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.1348, allocations: 127.4 kB / 332.1 MB, free: 304 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.1349, allocations: 16 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.135, allocations: 20 kB / 332.2 MB, free: 268 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.135, allocations: 51.7 kB / 332.2 MB, free: 216 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.1351, allocations: 65.58 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1354, allocations: 243.5 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1354, allocations: 4 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1354, allocations: 0 / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1354, allocations: 0 / 332.5 MB, free: 15.9 MB / 286.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.001175/0.1366, allocations: 0.6106 MB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1367, allocations: 8.031 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.1367, allocations: 31.62 kB / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1371, allocations: 266.4 kB / 333.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.1372, allocations: 12.44 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.1372, allocations: 20 kB / 333.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.1378, allocations: 259.2 kB / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1378, allocations: 0 / 333.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.1379, allocations: 12 kB / 333.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1379, allocations: 4 kB / 333.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.1386, allocations: 289.5 kB / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.1401, allocations: 0.8436 MB / 334.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.1407, allocations: 307.6 kB / 335.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.141, allocations: 112.7 kB / 335.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1411, allocations: 7.969 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004579/0.1415, allocations: 177.8 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1415, allocations: 0 / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001753/0.1433, allocations: 0.6395 MB / 336.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.1434, allocations: 102.8 kB / 336.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.1437, allocations: 274.5 kB / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1437, allocations: 29.64 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1438, allocations: 183.7 kB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1439, allocations: 35.55 kB / 336.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.1439, allocations: 4 kB / 336.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1441, allocations: 334.8 kB / 337 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.1444, allocations: 103.9 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.1448, allocations: 200.8 kB / 337.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.1451, allocations: 145.7 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1451, allocations: 0 / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001049/0.1462, allocations: 471.8 kB / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.1463, allocations: 205 kB / 338.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1463, allocations: 3.953 kB / 338.1 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.1467, allocations: 68.8 kB / 338.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1469, allocations: 51.95 kB / 338.2 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.1488, allocations: 1.507 MB / 339.7 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.1492, allocations: 59.78 kB / 339.8 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.1492, allocations: 16 kB / 339.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.1492, allocations: 4 kB / 339.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007272/0.15, allocations: 322.4 kB / 340.1 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.15, allocations: 4 kB / 340.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.101e-05/0.1501, allocations: 20.84 kB / 340.2 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.1503, allocations: 59.94 kB / 340.2 MB, free: 7.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.1514, allocations: 1.381 MB / 341.6 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.1517, allocations: 51.91 kB / 341.7 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1517, allocations: 8 kB / 341.7 MB, free: 6.027 MB / 286.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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.152, allocations: 224.8 kB / 341.9 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.1521, allocations: 27.67 kB / 341.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.1521, allocations: 21.72 kB / 341.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1521, allocations: 4 kB / 341.9 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1521, allocations: 3.984 kB / 341.9 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1522, allocations: 0 / 341.9 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.1533, allocations: 0.6556 MB / 342.6 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1534, allocations: 0 / 342.6 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.1535, allocations: 31.97 kB / 342.6 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.1537, allocations: 60.75 kB / 342.7 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1537, allocations: 0 / 342.7 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.1552, allocations: 1.499 MB / 344.2 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1552, allocations: 0 / 344.2 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.156, allocations: 407.9 kB / 344.6 MB, free: 2.887 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1561, allocations: 104.8 kB / 344.7 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.1562, allocations: 0 / 344.7 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.1564, allocations: 47.91 kB / 344.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.1565, allocations: 19.97 kB / 344.7 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1565, allocations: 4 kB / 344.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.1567, allocations: 186 kB / 344.9 MB, free: 2.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1567, allocations: 0 / 344.9 MB, free: 2.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006253/0.1574, allocations: 123.7 kB / 345.1 MB, free: 2.391 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.1575, allocations: 103.3 kB / 345.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.159, allocations: 0.7041 MB / 345.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.159, allocations: 0 / 345.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.1595, allocations: 226.7 kB / 346.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1599, allocations: 44.52 kB / 346.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.161, allocations: 0.5137 MB / 346.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.1614, allocations: 0.7444 MB / 347.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.1616, allocations: 30.28 kB / 347.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.1617, allocations: 23.38 kB / 347.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1617, allocations: 0 / 347.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01025/0.172, allocations: 3.409 MB / 350.8 MB, free: 12.49 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches