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.001381/0.001381, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001597/0.001597, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 47.94 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2783, 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.004079/0.2824, allocations: 2.748 MB / 404.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2837, allocations: 0.6623 MB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2839, allocations: 7.938 kB / 404.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.2841, allocations: 39.58 kB / 404.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.2843, allocations: 91.25 kB / 405 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.2846, allocations: 99.8 kB / 405.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.285, allocations: 350.6 kB / 405.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.2852, allocations: 84.64 kB / 405.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.2854, allocations: 123.6 kB / 405.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.2856, allocations: 147.3 kB / 405.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.2856, allocations: 32 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.2857, allocations: 28 kB / 405.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.2857, allocations: 71.75 kB / 405.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2859, allocations: 143.2 kB / 406 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.2862, allocations: 312 kB / 406.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2862, allocations: 0 / 406.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2862, allocations: 0 / 406.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2862, allocations: 0 / 406.3 MB, free: 3.945 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.001156/0.2874, allocations: 0.638 MB / 407 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2874, allocations: 8.031 kB / 407 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.2875, allocations: 32.56 kB / 407 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.2879, allocations: 275.6 kB / 407.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2879, allocations: 24.8 kB / 407.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.288, allocations: 24.38 kB / 407.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.2886, allocations: 274.1 kB / 407.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2886, allocations: 0 / 407.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.2887, allocations: 12 kB / 407.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2887, allocations: 8 kB / 407.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.2894, allocations: 249.4 kB / 407.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2909, allocations: 0.9024 MB / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.2924, allocations: 439.4 kB / 409.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2927, allocations: 96.72 kB / 409.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.2928, allocations: 4 kB / 409.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.2932, allocations: 169.8 kB / 409.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 3.797e-06/0.2932, allocations: 0 / 409.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.002009/0.2952, allocations: 0.5693 MB / 410 MB, free: 15.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.2953, allocations: 106.8 kB / 410.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.2956, allocations: 270.6 kB / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.2956, allocations: 25.7 kB / 410.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2958, allocations: 199.6 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.2958, allocations: 31.56 kB / 410.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.2959, allocations: 45.7 kB / 410.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.296, allocations: 334.8 kB / 411 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.2963, allocations: 91.92 kB / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.2967, allocations: 205.6 kB / 411.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/0.2974, allocations: 307.4 kB / 411.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2975, allocations: 0 / 411.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001154/0.2986, allocations: 431.8 kB / 412 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.2987, allocations: 37.7 kB / 412.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2987, allocations: 0 / 412.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.299, allocations: 60.88 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.2992, allocations: 55.91 kB / 412.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.3013, allocations: 1.613 MB / 413.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.3016, allocations: 55.84 kB / 413.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3017, allocations: 12.08 kB / 413.9 MB, free: 11.84 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.0001407/0.3018, allocations: 141.8 kB / 414 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.3019, allocations: 23.66 kB / 414 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.3019, allocations: 21.72 kB / 414 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3019, allocations: 7.984 kB / 414.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.3019, allocations: 0 / 414.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3019, allocations: 4 kB / 414.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3032, allocations: 0.6434 MB / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3033, allocations: 0 / 414.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.3034, allocations: 31.97 kB / 414.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.3036, allocations: 48.83 kB / 414.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3036, allocations: 11.92 kB / 414.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.3056, allocations: 1.597 MB / 416.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3057, allocations: 0 / 416.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3067, allocations: 388 kB / 416.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.3068, allocations: 104.8 kB / 416.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.3068, allocations: 8 kB / 416.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.3071, allocations: 35.95 kB / 416.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.3072, allocations: 11.98 kB / 416.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3072, allocations: 4 kB / 416.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3074, allocations: 190 kB / 417.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3074, allocations: 7.938 kB / 417.1 MB, free: 8.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000358/0.3078, allocations: 67.84 kB / 417.2 MB, free: 8.262 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.000144/0.3079, allocations: 112.1 kB / 417.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.3088, allocations: 393.9 kB / 417.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3088, allocations: 0 / 417.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.3093, allocations: 207.3 kB / 417.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3097, allocations: 54.16 kB / 417.9 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.3106, allocations: 457.1 kB / 418.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.311, allocations: 0.7402 MB / 419.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.3111, allocations: 23.44 kB / 419.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3111, allocations: 0 / 419.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of Templates: time 0.006459/0.3175, allocations: 4.146 MB / 423.3 MB, free: 2.055 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