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.001469/0.001469, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.66 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09848, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00374/0.1023, allocations: 2.747 MB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1036, allocations: 0.7089 MB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1037, allocations: 7.938 kB / 362.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.1039, allocations: 39.58 kB / 362.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1041, allocations: 91.25 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1044, allocations: 91.81 kB / 362.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.1047, allocations: 354.6 kB / 362.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1049, allocations: 82.34 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1051, allocations: 135.4 kB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1052, allocations: 147.3 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.1053, allocations: 32 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.1053, allocations: 28 kB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1054, allocations: 55.83 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.1055, allocations: 147.2 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.106, allocations: 326.8 kB / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.106, allocations: 0 / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.106, allocations: 0 / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.106, allocations: 0 / 363.9 MB, free: 8.34 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.001158/0.1072, allocations: 0.6418 MB / 364.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1072, allocations: 8.031 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.1073, allocations: 32.56 kB / 364.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1076, allocations: 275.5 kB / 364.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1076, allocations: 16.81 kB / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1077, allocations: 20.38 kB / 364.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.1083, allocations: 282.1 kB / 365.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1083, allocations: 3.938 kB / 365.1 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.1083, allocations: 12 kB / 365.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1083, allocations: 4 kB / 365.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/0.109, allocations: 249.5 kB / 365.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1105, allocations: 0.8946 MB / 366.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.1119, allocations: 447.4 kB / 366.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.1122, allocations: 100.7 kB / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1122, allocations: 0 / 366.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.1127, allocations: 165.9 kB / 367 MB, free: 4.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1127, allocations: 0 / 367 MB, free: 4.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001932/0.1146, allocations: 0.577 MB / 367.6 MB, free: 4.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.1147, allocations: 102.8 kB / 367.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1151, allocations: 270.7 kB / 367.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1151, allocations: 25.7 kB / 368 MB, free: 3.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1152, allocations: 191.6 kB / 368.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1153, allocations: 31.61 kB / 368.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.1154, allocations: 53.61 kB / 368.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1155, allocations: 334.8 kB / 368.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.1158, allocations: 91.92 kB / 368.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.1162, allocations: 202.7 kB / 368.8 MB, free: 3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.1169, allocations: 308.5 kB / 369.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1169, allocations: 0 / 369.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00109/0.118, allocations: 423.9 kB / 369.6 MB, free: 2.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.118, allocations: 37.64 kB / 369.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.118, allocations: 4 kB / 369.6 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.1184, allocations: 60.88 kB / 369.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.1186, allocations: 55.84 kB / 369.7 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.1208, allocations: 1.615 MB / 371.3 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.1211, allocations: 51.81 kB / 371.4 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1212, allocations: 19.92 kB / 371.4 MB, free: 240 kB / 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.0002031/0.1214, allocations: 142.3 kB / 371.5 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1214, allocations: 27.66 kB / 371.6 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.1215, allocations: 29.7 kB / 371.6 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1215, allocations: 0 / 371.6 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.1215, allocations: 4 kB / 371.6 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1215, allocations: 0 / 371.6 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2006/0.3221, allocations: 0.6336 MB / 372.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3221, allocations: 1.188 kB / 372.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.3223, allocations: 25.36 kB / 372.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.3226, allocations: 61.34 kB / 372.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3227, allocations: 1.797 kB / 372.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.3246, allocations: 1.598 MB / 373.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3246, allocations: 3.75 kB / 373.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3257, allocations: 388.2 kB / 374.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3259, allocations: 108.2 kB / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.326, allocations: 5.781 kB / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.3263, allocations: 34.31 kB / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3264, allocations: 14.69 kB / 374.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.3265, allocations: 6.453 kB / 374.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.3268, allocations: 190.9 kB / 374.7 MB, free: 18.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3268, allocations: 0 / 374.7 MB, free: 18.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.3273, allocations: 66.94 kB / 374.7 MB, free: 18.49 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.0001584/0.3275, allocations: 98.88 kB / 374.8 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3285, allocations: 391.2 kB / 375.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3285, allocations: 1.125 kB / 375.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.3289, allocations: 209 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.3294, allocations: 48.56 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3305, allocations: 445.6 kB / 375.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3308, allocations: 0.7424 MB / 376.6 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.3309, allocations: 31.67 kB / 376.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.331, allocations: 21.7 kB / 376.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.331, allocations: 0 / 376.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of Templates: time 0.009556/0.3406, allocations: 3.54 MB / 380.2 MB, free: 17.04 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 -s cvode -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