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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 108.1 kB / 17.74 MB, free: 5.23 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.001817/0.001817, allocations: 191 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 51.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2352, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003692/0.239, allocations: 2.736 MB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.24, allocations: 0.6661 MB / 404.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.2401, allocations: 11.94 kB / 404.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.2403, allocations: 39.62 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.2405, allocations: 91.19 kB / 405 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.2407, allocations: 87.88 kB / 405.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.2411, allocations: 358.5 kB / 405.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.2412, allocations: 84.7 kB / 405.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2414, allocations: 127.5 kB / 405.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2416, allocations: 147.4 kB / 405.8 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.2416, allocations: 28 kB / 405.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/0.2417, allocations: 28 kB / 405.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.2417, allocations: 71.67 kB / 405.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.2419, allocations: 143.3 kB / 406 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.2422, allocations: 316 kB / 406.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2422, allocations: 0 / 406.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2422, allocations: 3.938 kB / 406.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2422, allocations: 4 kB / 406.3 MB, free: 3.922 MB / 318.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.001133/0.2434, allocations: 0.6369 MB / 407 MB, free: 3.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2434, allocations: 8.031 kB / 407 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.633e-05/0.2435, allocations: 36.55 kB / 407 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.2438, allocations: 275.6 kB / 407.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2438, allocations: 16.81 kB / 407.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.2439, allocations: 20.38 kB / 407.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.2445, allocations: 278.1 kB / 407.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2445, allocations: 0 / 407.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.2445, allocations: 12 kB / 407.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2445, allocations: 4 kB / 407.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.2452, allocations: 245.5 kB / 407.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.2467, allocations: 0.9024 MB / 408.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.2482, allocations: 443.5 kB / 409.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.2485, allocations: 92.72 kB / 409.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2485, allocations: 7.938 kB / 409.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.2489, allocations: 165.8 kB / 409.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.2489, allocations: 0 / 409.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001933/0.2509, allocations: 0.5694 MB / 410 MB, free: 15.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.251, allocations: 114.7 kB / 410.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.2512, allocations: 266.6 kB / 410.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2512, allocations: 33.7 kB / 410.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2514, allocations: 187.6 kB / 410.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.2514, allocations: 35.53 kB / 410.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.2515, allocations: 46.08 kB / 410.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2516, allocations: 338.8 kB / 411 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.2519, allocations: 91.92 kB / 411.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.2523, allocations: 197.7 kB / 411.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.253, allocations: 309.3 kB / 411.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.253, allocations: 4 kB / 411.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001126/0.2541, allocations: 430 kB / 412 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.2542, allocations: 33.7 kB / 412.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2542, allocations: 4 kB / 412.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.2545, allocations: 68.81 kB / 412.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.2547, allocations: 47.95 kB / 412.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.2568, allocations: 1.613 MB / 413.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.2571, allocations: 59.8 kB / 413.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.2572, allocations: 12 kB / 413.9 MB, free: 11.83 MB / 334.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.2573, allocations: 141.8 kB / 414 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.2574, allocations: 27.66 kB / 414 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.2574, allocations: 21.7 kB / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2574, allocations: 0 / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2574, allocations: 4 kB / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2574, allocations: 0 / 414.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.2587, allocations: 0.6473 MB / 414.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2587, allocations: 0 / 414.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2589, allocations: 23.97 kB / 414.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/0.2591, allocations: 56.81 kB / 414.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2591, allocations: 4 kB / 414.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.261, allocations: 1.601 MB / 416.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.261, allocations: 0 / 416.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.2619, allocations: 396 kB / 416.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.262, allocations: 96.83 kB / 416.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.262, allocations: 4 kB / 416.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.2623, allocations: 35.95 kB / 416.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.2624, allocations: 19.98 kB / 416.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2624, allocations: 7.922 kB / 416.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2626, allocations: 190 kB / 417.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2626, allocations: 3.938 kB / 417.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.263, allocations: 63.84 kB / 417.2 MB, free: 8.254 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.2631, allocations: 112 kB / 417.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008651/0.264, allocations: 386.5 kB / 417.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.264, allocations: 8.062 kB / 417.7 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.2644, allocations: 206.6 kB / 417.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2648, allocations: 54.25 kB / 417.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.2658, allocations: 457.4 kB / 418.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.2661, allocations: 0.7479 MB / 419.1 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.2662, allocations: 23.44 kB / 419.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2662, allocations: 0 / 419.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of Templates: time 0.006051/0.2722, allocations: 4.172 MB / 423.3 MB, free: 2.02 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches