Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.56 kB / 307.6 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08587, allocations: 50.53 MB / 358.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003924/0.08982, allocations: 2.751 MB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.0911, allocations: 0.705 MB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.09129, allocations: 4 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.09146, allocations: 39.58 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.09167, allocations: 87.27 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.09195, allocations: 99.81 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.09234, allocations: 350.5 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.09252, allocations: 90.33 kB / 362.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.09269, allocations: 127.5 kB / 362.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.09288, allocations: 151.3 kB / 362.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.09294, allocations: 28 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.09301, allocations: 36 kB / 362.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.09308, allocations: 63.7 kB / 362.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.09323, allocations: 143.3 kB / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.09353, allocations: 319.1 kB / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09355, allocations: 0 / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.09355, allocations: 0 / 363.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.09357, allocations: 0 / 363.1 MB, free: 9.125 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.001164/0.09473, allocations: 0.634 MB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.09478, allocations: 8.031 kB / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.09485, allocations: 36.56 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.09516, allocations: 271.5 kB / 364.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.09519, allocations: 24.75 kB / 364.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.09523, allocations: 16.38 kB / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.09587, allocations: 282 kB / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.09589, allocations: 0 / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.09592, allocations: 8 kB / 364.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.09594, allocations: 12 kB / 364.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.09668, allocations: 241.6 kB / 364.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.09817, allocations: 0.8946 MB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.0997, allocations: 455.4 kB / 366 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.1, allocations: 88.73 kB / 366.1 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1001, allocations: 4 kB / 366.1 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.1006, allocations: 169.8 kB / 366.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1006, allocations: 4 kB / 366.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.00206/0.1026, allocations: 0.5692 MB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1027, allocations: 110.8 kB / 366.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.103, allocations: 266.7 kB / 367.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.103, allocations: 25.7 kB / 367.2 MB, free: 4.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1031, allocations: 195.5 kB / 367.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1032, allocations: 31.61 kB / 367.4 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.1032, allocations: 53.61 kB / 367.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1034, allocations: 334.8 kB / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.1037, allocations: 91.92 kB / 367.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.1041, allocations: 206.6 kB / 368.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.1048, allocations: 301.4 kB / 368.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1048, allocations: 0 / 368.4 MB, free: 3.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001176/0.106, allocations: 435.5 kB / 368.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.106, allocations: 33.7 kB / 368.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.106, allocations: 4 kB / 368.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.1063, allocations: 60.88 kB / 368.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1066, allocations: 59.84 kB / 369 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.1086, allocations: 1.605 MB / 370.6 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.109, allocations: 55.78 kB / 370.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.109, allocations: 19.97 kB / 370.6 MB, free: 1.02 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.0001402/0.1092, allocations: 146.3 kB / 370.8 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.1092, allocations: 23.66 kB / 370.8 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1093, allocations: 33.7 kB / 370.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1093, allocations: 4 kB / 370.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1093, allocations: 0 / 370.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1093, allocations: 0 / 370.8 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1106, allocations: 0.6395 MB / 371.5 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1106, allocations: 0 / 371.5 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1107, allocations: 27.97 kB / 371.5 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.1109, allocations: 60.75 kB / 371.6 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.111, allocations: 4 kB / 371.6 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1441/0.2551, allocations: 1.594 MB / 373.2 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2551, allocations: 0.9375 kB / 373.2 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2562, allocations: 394.4 kB / 373.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.2563, allocations: 94.75 kB / 373.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.2564, allocations: 10.25 kB / 373.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.2567, allocations: 32.7 kB / 373.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.2568, allocations: 19.5 kB / 373.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2568, allocations: 7.922 kB / 373.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.257, allocations: 191.1 kB / 373.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.257, allocations: 0.7812 kB / 373.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000406/0.2574, allocations: 64.33 kB / 374 MB, free: 19.29 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.0001183/0.2575, allocations: 102.7 kB / 374.1 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009444/0.2585, allocations: 395.8 kB / 374.5 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2585, allocations: 0 / 374.5 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.2589, allocations: 203.5 kB / 374.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.2593, allocations: 46.11 kB / 374.7 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.2603, allocations: 473.3 kB / 375.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2605, allocations: 0.7435 MB / 375.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.2606, allocations: 21.16 kB / 375.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2606, allocations: 0 / 375.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of Templates: time 0.007251/0.2678, allocations: 4.132 MB / 380.1 MB, free: 17.65 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches