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.001072/0.001072, allocations: 103.6 kB / 17.59 MB, free: 5.43 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.001168/0.001168, allocations: 187.3 kB / 18.51 MB, free: 4.508 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.384/1.384, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 50 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08722/0.08826, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00401/0.0923, allocations: 2.731 MB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.09368, allocations: 0.6661 MB / 354.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.09395, allocations: 7.938 kB / 354.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.09415, allocations: 43.58 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.0944, allocations: 87.25 kB / 354.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.0947, allocations: 99.8 kB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.09505, allocations: 342.6 kB / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.09525, allocations: 104.5 kB / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.09543, allocations: 131.5 kB / 354.9 MB, free: 184 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.09562, allocations: 143.4 kB / 355.1 MB, free: 40 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.09568, allocations: 28 kB / 355.1 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.09576, allocations: 32.05 kB / 355.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.09583, allocations: 63.7 kB / 355.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.09597, allocations: 139.3 kB / 355.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.09629, allocations: 315.2 kB / 355.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.0963, allocations: 0 / 355.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09631, allocations: 0 / 355.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.09632, allocations: 0 / 355.6 MB, free: 15.47 MB / 302.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.001188/0.09752, allocations: 0.6379 MB / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.09757, allocations: 16.03 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.09766, allocations: 28.66 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.09798, allocations: 271.6 kB / 356.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.09801, allocations: 16.81 kB / 356.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.09805, allocations: 24.38 kB / 356.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.09869, allocations: 274.1 kB / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.09871, allocations: 0 / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.09875, allocations: 12 kB / 356.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.09876, allocations: 4 kB / 356.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.09952, allocations: 249.5 kB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.1011, allocations: 0.9063 MB / 358.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.1026, allocations: 435.4 kB / 358.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.1029, allocations: 100.7 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1029, allocations: 4 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.1034, allocations: 169.8 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1034, allocations: 4 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002043/0.1055, allocations: 0.5692 MB / 359.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.1056, allocations: 106.8 kB / 359.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.1058, allocations: 270.7 kB / 359.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1059, allocations: 25.7 kB / 359.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.106, allocations: 195.6 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.106, allocations: 31.59 kB / 359.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.1061, allocations: 53.61 kB / 360 MB, free: 10.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1062, allocations: 338.8 kB / 360.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.1066, allocations: 91.92 kB / 360.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.107, allocations: 201.6 kB / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.1077, allocations: 303.3 kB / 360.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1077, allocations: 0 / 360.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001184/0.1089, allocations: 431.8 kB / 361.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.109, allocations: 29.7 kB / 361.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.109, allocations: 4 kB / 361.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.1093, allocations: 60.88 kB / 361.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.1095, allocations: 55.89 kB / 361.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.1117, allocations: 1.617 MB / 363.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.1121, allocations: 51.7 kB / 363.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1121, allocations: 12 kB / 363.2 MB, free: 7.383 MB / 302.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.0001367/0.1123, allocations: 137.7 kB / 363.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.1123, allocations: 35.66 kB / 363.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.1124, allocations: 29.7 kB / 363.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1124, allocations: 0 / 363.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1124, allocations: 0 / 363.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1124, allocations: 0 / 363.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1137, allocations: 0.6357 MB / 364 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1137, allocations: 4 kB / 364 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.1138, allocations: 23.97 kB / 364 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.114, allocations: 56.81 kB / 364.1 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1141, allocations: 8 kB / 364.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.116, allocations: 1.597 MB / 365.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.116, allocations: 0 / 365.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.117, allocations: 399.8 kB / 366.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.1171, allocations: 96.86 kB / 366.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.1171, allocations: 4 kB / 366.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.1174, allocations: 31.95 kB / 366.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.1175, allocations: 19.97 kB / 366.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1175, allocations: 11.98 kB / 366.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1177, allocations: 190 kB / 366.4 MB, free: 3.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1177, allocations: 0 / 366.4 MB, free: 3.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.1181, allocations: 63.84 kB / 366.5 MB, free: 3.812 MB / 302.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.0001315/0.1182, allocations: 107.7 kB / 366.6 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009352/0.1191, allocations: 401.8 kB / 367 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1192, allocations: 0.8125 kB / 367 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.1196, allocations: 210.5 kB / 367.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.12, allocations: 51.78 kB / 367.2 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.121, allocations: 461.7 kB / 367.7 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1213, allocations: 0.7439 MB / 368.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.1213, allocations: 23.44 kB / 368.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1214, allocations: 0 / 368.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of Templates: time 0.1582/0.2796, allocations: 4.111 MB / 372.6 MB, free: 24.48 MB / 302.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