Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002881/0.002881, allocations: 181.2 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.81/3.81, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 93.09 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006948/0.0006956, allocations: 12 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9259/0.9267, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/1.146, allocations: 79.16 MB / 454.9 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005761/1.146, allocations: 87.95 kB / 455 MB, free: 1.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02714/1.174, allocations: 5.651 MB / 460.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.109e-05/1.174, allocations: 4 kB / 460.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.481e-05/1.174, allocations: 7.938 kB / 460.6 MB, free: 11.7 MB / 346.7 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.001899/1.176, allocations: 0.599 MB / 461.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.645e-05/1.176, allocations: 12.03 kB / 461.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/1.176, allocations: 32.56 kB / 461.3 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/1.177, allocations: 268.2 kB / 461.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/1.177, allocations: 16.81 kB / 461.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/1.177, allocations: 20.38 kB / 461.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.178, allocations: 259.8 kB / 461.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.178, allocations: 192 / 461.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/1.178, allocations: 19.94 kB / 461.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/1.178, allocations: 4 kB / 461.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.179, allocations: 289.5 kB / 462.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007674/1.187, allocations: 0.8947 MB / 463 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/1.188, allocations: 307.6 kB / 463.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/1.189, allocations: 100.8 kB / 463.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/1.189, allocations: 7.984 kB / 463.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008541/1.19, allocations: 177.8 kB / 463.6 MB, free: 8.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 5.971e-06/1.19, allocations: 4 kB / 463.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.003069/1.193, allocations: 0.6433 MB / 464.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.193, allocations: 102.8 kB / 464.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/1.194, allocations: 274.5 kB / 464.6 MB, free: 7.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/1.194, allocations: 29.7 kB / 464.7 MB, free: 7.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/1.194, allocations: 183.7 kB / 464.8 MB, free: 7.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/1.194, allocations: 31.55 kB / 464.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/1.194, allocations: 8 kB / 464.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/1.195, allocations: 334.8 kB / 465.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/1.195, allocations: 103.9 kB / 465.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/1.196, allocations: 206.3 kB / 465.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.197, allocations: 317.3 kB / 465.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.197, allocations: 0 / 465.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001939/1.199, allocations: 475.8 kB / 466.3 MB, free: 5.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/1.199, allocations: 202 kB / 466.5 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.199, allocations: 0 / 466.5 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004482/1.199, allocations: 72.78 kB / 466.5 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/1.2, allocations: 51.91 kB / 466.6 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/1.203, allocations: 1.499 MB / 468.1 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/1.204, allocations: 67.64 kB / 468.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/1.204, allocations: 12 kB / 468.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.204, allocations: 4 kB / 468.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/1.205, allocations: 318.5 kB / 468.5 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.205, allocations: 4 kB / 468.5 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/1.205, allocations: 20.86 kB / 468.5 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/1.205, allocations: 63.89 kB / 468.6 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/1.207, allocations: 1.385 MB / 470 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/1.208, allocations: 47.81 kB / 470 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/1.208, allocations: 11.94 kB / 470 MB, free: 1.562 MB / 346.7 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.0004908/1.209, allocations: 223.6 kB / 470.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/1.209, allocations: 19.81 kB / 470.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/1.209, allocations: 21.7 kB / 470.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.209, allocations: 4 kB / 470.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.209, allocations: 0 / 470.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.209, allocations: 3.938 kB / 470.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/1.211, allocations: 0.6668 MB / 471 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.211, allocations: 4 kB / 471 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/1.211, allocations: 27.97 kB / 471 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/1.212, allocations: 56.83 kB / 471 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/1.212, allocations: 3.938 kB / 471 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/1.215, allocations: 1.491 MB / 472.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.215, allocations: 0 / 472.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/1.216, allocations: 403.9 kB / 472.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/1.216, allocations: 112.8 kB / 473 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/1.216, allocations: 0 / 473 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/1.217, allocations: 39.91 kB / 473.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.217, allocations: 19.97 kB / 473.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/1.217, allocations: 4 kB / 473.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004379/1.218, allocations: 194 kB / 473.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.218, allocations: 0 / 473.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001353/1.219, allocations: 115.8 kB / 473.4 MB, free: 13.94 MB / 362.7 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.000509/1.22, allocations: 115.1 kB / 473.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002761/1.222, allocations: 0.71 MB / 474.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.222, allocations: 0 / 474.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006935/1.223, allocations: 223.4 kB / 474.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/1.224, allocations: 32.55 kB / 474.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/1.226, allocations: 0.5427 MB / 475 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/1.227, allocations: 0.7446 MB / 475.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.227, allocations: 23.44 kB / 475.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.506e-06/1.227, allocations: 0 / 475.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01852/1.246, allocations: 4.128 MB / 479.9 MB, free: 7.316 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches