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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.00139, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.00113/0.00113, allocations: 93.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002871, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.305, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.4143, allocations: 79.11 MB / 454.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4146, allocations: 83.94 kB / 455 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0159/0.4305, allocations: 5.652 MB / 460.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4306, allocations: 0 / 460.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4306, allocations: 4 kB / 460.7 MB, free: 11.79 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.001077/0.4317, allocations: 0.6028 MB / 461.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4317, allocations: 8.031 kB / 461.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.4318, allocations: 31.62 kB / 461.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.4322, allocations: 267.4 kB / 461.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.4322, allocations: 20.39 kB / 461.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.4323, allocations: 19.94 kB / 461.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.4329, allocations: 263.1 kB / 461.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4329, allocations: 3.984 kB / 461.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.433, allocations: 8 kB / 461.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.433, allocations: 4 kB / 461.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.4338, allocations: 289.6 kB / 462.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.4355, allocations: 0.8986 MB / 463.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.4363, allocations: 307.6 kB / 463.4 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.4363, allocations: 7.984 kB / 463.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005466/0.4369, allocations: 181.7 kB / 463.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.4369, allocations: 0 / 463.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001856/0.4387, allocations: 0.575 MB / 464.1 MB, free: 8.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.4388, allocations: 114.8 kB / 464.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.4392, allocations: 237.6 kB / 464.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.4392, allocations: 29.7 kB / 464.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.4394, allocations: 179.7 kB / 464.7 MB, free: 7.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.4394, allocations: 47.44 kB / 464.7 MB, free: 7.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.4394, allocations: 0 / 464.7 MB, free: 7.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4396, allocations: 338.8 kB / 465.1 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.4399, allocations: 99.92 kB / 465.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.4403, allocations: 210.3 kB / 465.4 MB, free: 6.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.4407, allocations: 148.5 kB / 465.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4407, allocations: 3.953 kB / 465.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009594/0.4416, allocations: 432 kB / 465.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006642/0.4423, allocations: 1.161 MB / 467.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4423, allocations: 4 kB / 467.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.4427, allocations: 64.81 kB / 467.2 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.4429, allocations: 59.84 kB / 467.2 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005861/0.4435, allocations: 0.5836 MB / 467.8 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.4439, allocations: 59.88 kB / 467.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.4439, allocations: 15.98 kB / 467.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.4439, allocations: 4 kB / 467.9 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006753/0.4446, allocations: 310.5 kB / 468.2 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4446, allocations: 4 kB / 468.2 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.311e-05/0.4447, allocations: 32.73 kB / 468.2 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4449, allocations: 59.95 kB / 468.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.4461, allocations: 1.392 MB / 469.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.4464, allocations: 48 kB / 469.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.4464, allocations: 12 kB / 469.7 MB, free: 2.105 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.0002148/0.4466, allocations: 224.7 kB / 469.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.4467, allocations: 23.72 kB / 470 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.4467, allocations: 29.64 kB / 470 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4467, allocations: 4 kB / 470 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.4467, allocations: 4 kB / 470 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4468, allocations: 0 / 470 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.4479, allocations: 0.6478 MB / 470.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.448, allocations: 0 / 470.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.4481, allocations: 35.97 kB / 470.7 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.4483, allocations: 52.83 kB / 470.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4483, allocations: 0 / 470.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.4499, allocations: 1.511 MB / 472.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4499, allocations: 3.953 kB / 472.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/0.4508, allocations: 408 kB / 472.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.4509, allocations: 96.91 kB / 472.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.4509, allocations: 15.95 kB / 472.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4512, allocations: 35.97 kB / 472.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.4513, allocations: 19.97 kB / 472.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.4513, allocations: 4 kB / 472.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.4515, allocations: 190 kB / 473 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4515, allocations: 4 kB / 473 MB, free: 14.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.452, allocations: 119.7 kB / 473.1 MB, free: 14.46 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.0001848/0.4522, allocations: 99.25 kB / 473.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.4536, allocations: 0.6109 MB / 473.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4536, allocations: 0 / 473.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.4541, allocations: 226.9 kB / 474.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4544, allocations: 40.53 kB / 474.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.4554, allocations: 0.5129 MB / 474.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.4559, allocations: 0.7563 MB / 475.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.456, allocations: 30.47 kB / 475.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.4561, allocations: 19.44 kB / 475.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4561, allocations: 0 / 475.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Templates: time 0.007855/0.464, allocations: 3.263 MB / 478.7 MB, free: 8.836 MB / 362.7 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