Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 177.1 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 230.3 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008818, allocations: 89.58 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.434e-05, allocations: 8 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08577, allocations: 50.41 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.3734, allocations: 79.97 MB / 467.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.3737, allocations: 79.95 kB / 467.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.3898, allocations: 5.729 MB / 473.2 MB, free: 9.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3898, allocations: 0 / 473.2 MB, free: 9.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.3899, allocations: 8 kB / 473.3 MB, free: 9.062 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.0008896/0.3908, allocations: 0.5582 MB / 473.8 MB, free: 8.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3908, allocations: 8.031 kB / 473.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.3909, allocations: 27.72 kB / 473.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3912, allocations: 270.9 kB / 474.1 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3912, allocations: 11.94 kB / 474.1 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.3913, allocations: 12 kB / 474.1 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002681/0.3915, allocations: 140.9 kB / 474.3 MB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.3919, allocations: 197.3 kB / 474.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3919, allocations: 0 / 474.5 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.3919, allocations: 8 kB / 474.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3919, allocations: 7.984 kB / 474.5 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.3935, allocations: 0.9364 MB / 475.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009828/0.3945, allocations: 355.6 kB / 475.8 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.3946, allocations: 52.86 kB / 475.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3946, allocations: 0 / 475.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3948, allocations: 114.1 kB / 475.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.3948, allocations: 0 / 475.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005198/0.3954, allocations: 198.1 kB / 476.1 MB, free: 5.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3954, allocations: 102.8 kB / 476.2 MB, free: 5.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3956, allocations: 218.1 kB / 476.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3957, allocations: 25.7 kB / 476.5 MB, free: 5.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3958, allocations: 199.5 kB / 476.7 MB, free: 5.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3958, allocations: 23.72 kB / 476.7 MB, free: 5.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.3958, allocations: 4 kB / 476.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3959, allocations: 330.8 kB / 477 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.396, allocations: 44 kB / 477 MB, free: 4.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.3962, allocations: 158.8 kB / 477.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.986e-05/0.3963, allocations: 61.75 kB / 477.3 MB, free: 4.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3963, allocations: 3.938 kB / 477.3 MB, free: 4.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006073/0.3969, allocations: 270.2 kB / 477.5 MB, free: 4.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.397, allocations: 39.09 kB / 477.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.397, allocations: 12.08 kB / 477.6 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.3971, allocations: 36.78 kB / 477.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3974, allocations: 51.97 kB / 477.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.3986, allocations: 1.316 MB / 479 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.3989, allocations: 55.66 kB / 479 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3989, allocations: 12.09 kB / 479 MB, free: 2.809 MB / 346.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete 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 (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 1} Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/0.399, allocations: 120.8 kB / 479.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.3991, allocations: 19.81 kB / 479.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.3991, allocations: 25.78 kB / 479.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3991, allocations: 4 kB / 479.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.3991, allocations: 0 / 479.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3991, allocations: 0 / 479.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.3998, allocations: 0.5113 MB / 479.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3999, allocations: 0 / 479.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4, allocations: 35.97 kB / 479.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-05/0.4001, allocations: 20.84 kB / 479.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4001, allocations: 4 kB / 479.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.4011, allocations: 1.291 MB / 481.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4011, allocations: 0 / 481.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.4016, allocations: 296 kB / 481.4 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.4017, allocations: 92.92 kB / 481.5 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.4017, allocations: 7.984 kB / 481.5 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.402, allocations: 35.97 kB / 481.5 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.4021, allocations: 19.97 kB / 481.5 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.4021, allocations: 4 kB / 481.5 MB, free: 128 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.4022, allocations: 170 kB / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4023, allocations: 0 / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.4026, allocations: 59.84 kB / 481.7 MB, free: 15.91 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) * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.4027, allocations: 111.2 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.4031, allocations: 289.2 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4032, allocations: 3.938 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.4033, allocations: 149.7 kB / 482.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4036, allocations: 41.3 kB / 482.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.4042, allocations: 249.2 kB / 482.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4045, allocations: 0.756 MB / 483.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.4046, allocations: 22.06 kB / 483.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.4046, allocations: 23.44 kB / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4046, allocations: 0 / 483.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Templates: time 0.005464/0.4101, allocations: 2.743 MB / 486.1 MB, free: 11.48 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches