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.00151/0.00151, allocations: 187.3 kB / 18.04 MB, free: 3.656 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.597/1.597, allocations: 205.4 MB / 224.2 MB, free: 9.012 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.0008737/0.0008736, allocations: 82.42 kB / 272.5 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003386, allocations: 11.98 kB / 329.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2652, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3656, allocations: 79.17 MB / 456.2 MB, free: 1.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.3659, allocations: 79.95 kB / 456.3 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.3824, allocations: 5.663 MB / 461.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3824, allocations: 3.938 kB / 461.9 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.3824, allocations: 4 kB / 461.9 MB, free: 11.58 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.001211/0.3837, allocations: 0.599 MB / 462.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.3837, allocations: 12.03 kB / 462.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3839, allocations: 32.56 kB / 462.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.3843, allocations: 272.2 kB / 462.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3844, allocations: 12.81 kB / 462.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.3844, allocations: 20.38 kB / 462.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.3851, allocations: 259.8 kB / 463.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3851, allocations: 192 / 463.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.3851, allocations: 15.94 kB / 463.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3852, allocations: 7.938 kB / 463.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.3859, allocations: 293.5 kB / 463.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.3877, allocations: 0.8946 MB / 464.3 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.3884, allocations: 311.6 kB / 464.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.3887, allocations: 92.8 kB / 464.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.3887, allocations: 8 kB / 464.8 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.3892, allocations: 181.8 kB / 464.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.963e-06/0.3892, allocations: 3.938 kB / 464.9 MB, free: 8.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001777/0.391, allocations: 0.6394 MB / 465.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.3911, allocations: 106.8 kB / 465.7 MB, free: 7.574 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3914, allocations: 270.5 kB / 465.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3914, allocations: 29.7 kB / 466 MB, free: 7.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3916, allocations: 179.7 kB / 466.1 MB, free: 7.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3916, allocations: 35.55 kB / 466.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.3916, allocations: 4 kB / 466.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3917, allocations: 338.8 kB / 466.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.3921, allocations: 103.9 kB / 466.6 MB, free: 6.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.3924, allocations: 210.3 kB / 466.8 MB, free: 6.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.393, allocations: 313.7 kB / 467.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3931, allocations: 0 / 467.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001053/0.3941, allocations: 467.8 kB / 467.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.3943, allocations: 204.6 kB / 467.8 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3943, allocations: 4 kB / 467.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.3945, allocations: 64.78 kB / 467.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3948, allocations: 59.91 kB / 467.9 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.3964, allocations: 1.495 MB / 469.4 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3967, allocations: 71.64 kB / 469.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3968, allocations: 12.06 kB / 469.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.3968, allocations: 4 kB / 469.5 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006862/0.3975, allocations: 318.1 kB / 469.8 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3975, allocations: 4 kB / 469.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-05/0.3976, allocations: 25.14 kB / 469.8 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.3978, allocations: 55.89 kB / 469.9 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/0.3987, allocations: 1.389 MB / 471.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.399, allocations: 47.81 kB / 471.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.3991, allocations: 16.03 kB / 471.3 MB, free: 1.445 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.000208/0.3993, allocations: 216.8 kB / 471.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.3993, allocations: 19.81 kB / 471.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.3994, allocations: 25.7 kB / 471.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3994, allocations: 4 kB / 471.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.3994, allocations: 0 / 471.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3994, allocations: 3.938 kB / 471.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.4005, allocations: 0.659 MB / 472.3 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4005, allocations: 0 / 472.3 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.4006, allocations: 31.97 kB / 472.3 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.4008, allocations: 52.83 kB / 472.3 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.4008, allocations: 7.938 kB / 472.3 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.4023, allocations: 1.495 MB / 473.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4023, allocations: 0 / 473.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.4031, allocations: 411.8 kB / 474.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.4032, allocations: 100.8 kB / 474.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4033, allocations: 4 kB / 474.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.4035, allocations: 35.91 kB / 474.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.4036, allocations: 23.97 kB / 474.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4036, allocations: 4 kB / 474.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.4039, allocations: 194 kB / 474.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4039, allocations: 0 / 474.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005589/0.4045, allocations: 115.8 kB / 474.7 MB, free: 13.83 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.0001445/0.4046, allocations: 111.1 kB / 474.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.4059, allocations: 0.7118 MB / 475.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4059, allocations: 0 / 475.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.4063, allocations: 219.4 kB / 475.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.4068, allocations: 40.53 kB / 475.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009236/0.4077, allocations: 0.5137 MB / 476.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.408, allocations: 0.7446 MB / 477 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.4082, allocations: 30.31 kB / 477.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.4082, allocations: 19.44 kB / 477.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4082, allocations: 0 / 477.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.007122/0.4154, allocations: 3.46 MB / 480.6 MB, free: 7.895 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/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_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches