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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.00143, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001382/0.001383, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 51.92 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1212, allocations: 46.61 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004948/0.1262, allocations: 2.699 MB / 377.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1279, allocations: 0.7212 MB / 378.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.1283, allocations: 7.938 kB / 378.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.1286, allocations: 43.58 kB / 378.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.1289, allocations: 91.25 kB / 378.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1293, allocations: 83.83 kB / 378.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.1298, allocations: 362.4 kB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.1301, allocations: 72.72 kB / 379.2 MB, free: 460 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.1304, allocations: 139.5 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.1306, allocations: 155.3 kB / 379.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.1307, allocations: 28 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.1308, allocations: 28 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1308, allocations: 55.83 kB / 379.6 MB, free: 52 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2864/0.4173, allocations: 145.3 kB / 379.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.4179, allocations: 323 kB / 380.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4179, allocations: 0.5156 kB / 380.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4179, allocations: 0 / 380.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4179, allocations: 0.9375 kB / 380.1 MB, free: 10.68 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.001295/0.4192, allocations: 0.6489 MB / 380.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4193, allocations: 9.625 kB / 380.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.13e-05/0.4194, allocations: 32.55 kB / 380.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.4198, allocations: 275.2 kB / 381.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.4198, allocations: 17 kB / 381.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.4199, allocations: 18.22 kB / 381.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.4206, allocations: 249.8 kB / 381.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4206, allocations: 3.938 kB / 381.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.4206, allocations: 6.875 kB / 381.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.4206, allocations: 5.25 kB / 381.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.4214, allocations: 255.5 kB / 381.6 MB, free: 9.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.4228, allocations: 0.823 MB / 382.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.4236, allocations: 273 kB / 382.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.4239, allocations: 91.7 kB / 382.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.4239, allocations: 1.5 kB / 382.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.4245, allocations: 164.8 kB / 382.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.4245, allocations: 0 / 382.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001928/0.4264, allocations: 0.5218 MB / 383.5 MB, free: 9.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.4265, allocations: 110.4 kB / 383.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.4268, allocations: 269.2 kB / 383.8 MB, free: 8.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4268, allocations: 30.67 kB / 383.9 MB, free: 8.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4269, allocations: 189.5 kB / 384 MB, free: 8.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.427, allocations: 38.94 kB / 384.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.4271, allocations: 58 kB / 384.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.4271, allocations: 337.6 kB / 384.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.4275, allocations: 91.02 kB / 384.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.4278, allocations: 191.3 kB / 384.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.4284, allocations: 288.5 kB / 385 MB, free: 8.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4284, allocations: 1.406 kB / 385 MB, free: 8.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001042/0.4295, allocations: 413.6 kB / 385.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.4295, allocations: 34.38 kB / 385.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.4295, allocations: 3.688 kB / 385.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.43, allocations: 98.05 kB / 385.6 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.4302, allocations: 53.75 kB / 385.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.4317, allocations: 1.559 MB / 387.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.432, allocations: 52.94 kB / 387.2 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.4321, allocations: 13.3 kB / 387.2 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003266/0.4324, allocations: 177.8 kB / 387.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003121/0.4327, allocations: 175.6 kB / 387.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005059/0.4332, allocations: 262.8 kB / 387.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.4332, allocations: 1.125 kB / 387.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007418/0.434, allocations: 339.4 kB / 388.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.434, allocations: 37.31 kB / 388.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.434, allocations: 3.438 kB / 388.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.353e-05/0.4341, allocations: 25.73 kB / 388.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.4343, allocations: 47.56 kB / 388.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007812/0.4351, allocations: 1.554 MB / 389.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.4355, allocations: 51.25 kB / 389.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.4355, allocations: 9.5 kB / 389.9 MB, free: 4.289 MB / 318.1 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 (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 (23): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.4356, allocations: 194.9 kB / 390.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.4357, allocations: 27.28 kB / 390.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.4357, allocations: 23.53 kB / 390.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4357, allocations: 1.406 kB / 390.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4357, allocations: 4.797 kB / 390.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4357, allocations: 0.7031 kB / 390.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.4369, allocations: 0.614 MB / 390.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4369, allocations: 0.6094 kB / 390.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.437, allocations: 23.33 kB / 390.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.4372, allocations: 46.48 kB / 390.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4373, allocations: 10.02 kB / 390.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.4386, allocations: 1.545 MB / 392.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4386, allocations: 0 / 392.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.4394, allocations: 357 kB / 392.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.4395, allocations: 100.4 kB / 392.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.4395, allocations: 12.2 kB / 392.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.4398, allocations: 26.39 kB / 392.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.4399, allocations: 24.75 kB / 392.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.4399, allocations: 3.438 kB / 392.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4401, allocations: 188.7 kB / 393.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.4401, allocations: 1.219 kB / 393.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006514/0.4407, allocations: 119.7 kB / 393.2 MB, free: 1.773 MB / 318.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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.4409, allocations: 109.8 kB / 393.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.4424, allocations: 0.6636 MB / 394 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4424, allocations: 1.625 kB / 394 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.4428, allocations: 215.8 kB / 394.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.4432, allocations: 49.44 kB / 394.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4443, allocations: 444.7 kB / 394.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4446, allocations: 0.7439 MB / 395.4 MB, free: 124 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.4447, allocations: 26.7 kB / 395.4 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.4448, allocations: 19.69 kB / 395.5 MB, free: 108 kB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4448, allocations: 1.344 kB / 395.5 MB, free: 108 kB / 318.1 MB Notification: Performance of Templates: time 0.01184/0.4566, allocations: 3.903 MB / 399.4 MB, free: 15.67 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches