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.001202/0.001202, allocations: 113.4 kB / 17.33 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 208 kB / 18.27 MB, free: 4.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.55 kB / 306.5 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09747, allocations: 50.53 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004201/0.1017, allocations: 2.797 MB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1032, allocations: 0.7012 MB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.1034, allocations: 4 kB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1036, allocations: 31.7 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1038, allocations: 75.44 kB / 360.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1041, allocations: 75.94 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.1046, allocations: 354.5 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1048, allocations: 88.7 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.105, allocations: 135.4 kB / 361.2 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.1052, allocations: 143.4 kB / 361.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.1053, allocations: 28 kB / 361.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.1053, allocations: 32 kB / 361.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.1054, allocations: 63.75 kB / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1056, allocations: 143.3 kB / 361.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1059, allocations: 319.1 kB / 361.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1059, allocations: 4 kB / 362 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1059, allocations: 0 / 362 MB, free: 9.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1059, allocations: 0 / 362 MB, free: 9.184 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.001295/0.1072, allocations: 0.6418 MB / 362.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1073, allocations: 8.031 kB / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.1074, allocations: 32.56 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.1077, allocations: 271.5 kB / 362.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1077, allocations: 20.8 kB / 362.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.1078, allocations: 16.38 kB / 362.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.1084, allocations: 282.1 kB / 363.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1085, allocations: 0 / 363.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.1085, allocations: 8 kB / 363.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1085, allocations: 4 kB / 363.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007775/0.1093, allocations: 249.5 kB / 363.5 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1109, allocations: 0.8985 MB / 364.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.1125, allocations: 439.5 kB / 364.8 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.1128, allocations: 96.66 kB / 364.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1129, allocations: 8 kB / 364.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.1134, allocations: 165.9 kB / 365.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.1134, allocations: 0 / 365.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002064/0.1155, allocations: 0.5769 MB / 365.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.1156, allocations: 106.8 kB / 365.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1159, allocations: 274.7 kB / 366 MB, free: 4.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.1159, allocations: 25.7 kB / 366 MB, free: 4.801 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.116, allocations: 191.6 kB / 366.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1161, allocations: 27.61 kB / 366.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.1162, allocations: 53.61 kB / 366.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1163, allocations: 334.8 kB / 366.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.1167, allocations: 95.92 kB / 366.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.1171, allocations: 202.7 kB / 366.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.1178, allocations: 300.6 kB / 367.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1178, allocations: 3.938 kB / 367.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001152/0.1189, allocations: 423.9 kB / 367.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.119, allocations: 33.77 kB / 367.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.119, allocations: 8 kB / 367.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/0.1193, allocations: 64.78 kB / 367.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.1196, allocations: 47.97 kB / 367.8 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.1217, allocations: 1.627 MB / 369.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.122, allocations: 51.72 kB / 369.5 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1221, allocations: 12.06 kB / 369.5 MB, free: 1.086 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.0001529/0.1222, allocations: 154.3 kB / 369.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.1223, allocations: 23.66 kB / 369.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1223, allocations: 29.7 kB / 369.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1223, allocations: 0 / 369.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1223, allocations: 0 / 369.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1223, allocations: 384 / 369.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.1236, allocations: 0.6434 MB / 370.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1236, allocations: 0 / 370.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.1238, allocations: 23.97 kB / 370.3 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.124, allocations: 60.81 kB / 370.4 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1241, allocations: 7.938 kB / 370.4 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1693/0.2934, allocations: 1.588 MB / 372 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2934, allocations: 0.5156 kB / 372 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.2946, allocations: 395.7 kB / 372.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.2947, allocations: 103 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.2947, allocations: 9.047 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.295, allocations: 31.36 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.2951, allocations: 15.62 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.2951, allocations: 10.86 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.2953, allocations: 191.2 kB / 372.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2953, allocations: 0 / 372.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004136/0.2957, allocations: 60.09 kB / 372.8 MB, free: 18.65 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.0001498/0.2959, allocations: 102.3 kB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009715/0.2969, allocations: 398.1 kB / 373.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2969, allocations: 1.094 kB / 373.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.2973, allocations: 209.6 kB / 373.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.2978, allocations: 49.73 kB / 373.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2989, allocations: 0.509 MB / 374 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.2991, allocations: 0.7431 MB / 374.8 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.2992, allocations: 23.56 kB / 374.8 MB, free: 17.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.2993, allocations: 23.33 kB / 374.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2993, allocations: 0 / 374.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of Templates: time 0.008951/0.3083, allocations: 3.397 MB / 378.2 MB, free: 17.15 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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches