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.001344/0.001344, allocations: 108.3 kB / 17.06 MB, free: 6.023 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.001343/0.001343, allocations: 192 kB / 17.99 MB, free: 5.109 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.483/1.483, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 43.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3992, allocations: 49.44 MB / 400.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004348/0.4036, allocations: 2.73 MB / 403.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.4049, allocations: 0.6661 MB / 404.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.4051, allocations: 4 kB / 404.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.4053, allocations: 43.58 kB / 404.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.4055, allocations: 91.25 kB / 404.3 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.4058, allocations: 91.81 kB / 404.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.4062, allocations: 358.5 kB / 404.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.4064, allocations: 84.69 kB / 404.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.4066, allocations: 135.5 kB / 404.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.4068, allocations: 143.4 kB / 405.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.4068, allocations: 28 kB / 405.1 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.282e-05/0.4069, allocations: 28 kB / 405.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.407, allocations: 67.7 kB / 405.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.4071, allocations: 143.2 kB / 405.3 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.4075, allocations: 320 kB / 405.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4075, allocations: 4 kB / 405.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4075, allocations: 3.938 kB / 405.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4075, allocations: 0 / 405.7 MB, free: 3.949 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.001304/0.4088, allocations: 0.6405 MB / 406.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.4089, allocations: 8.031 kB / 406.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.409, allocations: 32.56 kB / 406.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.4094, allocations: 271.7 kB / 406.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4094, allocations: 12.81 kB / 406.6 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.4094, allocations: 24.38 kB / 406.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.4101, allocations: 282 kB / 406.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4101, allocations: 0 / 406.9 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.4101, allocations: 8 kB / 406.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.4102, allocations: 4 kB / 406.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.4109, allocations: 241.6 kB / 407.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.4124, allocations: 0.914 MB / 408.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.4138, allocations: 435.5 kB / 408.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.4141, allocations: 100.7 kB / 408.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.4141, allocations: 3.984 kB / 408.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.4146, allocations: 165.7 kB / 408.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.093e-06/0.4146, allocations: 4 kB / 408.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.00197/0.4166, allocations: 0.5654 MB / 409.3 MB, free: 16 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4167, allocations: 110.8 kB / 409.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.417, allocations: 266.6 kB / 409.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.417, allocations: 33.7 kB / 409.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.4172, allocations: 183.6 kB / 409.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.4172, allocations: 39.53 kB / 410 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.4174, allocations: 46.08 kB / 410 MB, free: 15.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002748/0.4176, allocations: 342.7 kB / 410.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.418, allocations: 91.92 kB / 410.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.4184, allocations: 197.7 kB / 410.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.419, allocations: 311.7 kB / 410.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.419, allocations: 4 kB / 410.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001127/0.4202, allocations: 427.8 kB / 411.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.4202, allocations: 33.7 kB / 411.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4203, allocations: 7.984 kB / 411.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.4206, allocations: 60.89 kB / 411.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.4208, allocations: 51.89 kB / 411.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.423, allocations: 1.609 MB / 413.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.4234, allocations: 59.83 kB / 413.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.4234, allocations: 8 kB / 413.2 MB, free: 11.86 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.0001988/0.4236, allocations: 141.8 kB / 413.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.4236, allocations: 23.66 kB / 413.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.4237, allocations: 25.7 kB / 413.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4237, allocations: 0 / 413.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4237, allocations: 0 / 413.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4237, allocations: 8 kB / 413.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.4251, allocations: 0.6433 MB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4251, allocations: 0 / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.4252, allocations: 23.97 kB / 414 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.4255, allocations: 60.81 kB / 414.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.4255, allocations: 4 kB / 414.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.4274, allocations: 1.593 MB / 415.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4274, allocations: 8.016 kB / 415.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009444/0.4283, allocations: 400 kB / 416.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.4284, allocations: 96.81 kB / 416.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.4284, allocations: 8 kB / 416.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.4287, allocations: 31.97 kB / 416.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.4288, allocations: 15.97 kB / 416.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.4288, allocations: 4 kB / 416.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.429, allocations: 197.9 kB / 416.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.429, allocations: 0 / 416.4 MB, free: 8.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.4294, allocations: 67.83 kB / 416.5 MB, free: 8.277 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.0001611/0.4295, allocations: 111.9 kB / 416.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009276/0.4305, allocations: 390 kB / 417 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4305, allocations: 0 / 417 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.4309, allocations: 214.5 kB / 417.2 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.4313, allocations: 58.86 kB / 417.3 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00094/0.4322, allocations: 430.6 kB / 417.7 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.4326, allocations: 0.744 MB / 418.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.101e-05/0.4327, allocations: 26.28 kB / 418.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.4327, allocations: 27.44 kB / 418.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4327, allocations: 0 / 418.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of Templates: time 0.008015/0.4407, allocations: 3.538 MB / 422 MB, free: 2.703 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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