Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 104 kB / 17.59 MB, free: 5.559 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.001719/0.001719, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.365/1.365, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001147, allocations: 55.67 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09672, allocations: 49.44 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004299/0.1011, allocations: 3.069 MB / 353.8 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1025, allocations: 0.7753 MB / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.1028, allocations: 4 kB / 354.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.103, allocations: 55.44 kB / 354.6 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1034, allocations: 115.1 kB / 354.8 MB, free: 376 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1037, allocations: 123.8 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.1043, allocations: 462.2 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.1045, allocations: 142.8 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.1048, allocations: 175.3 kB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1051, allocations: 183.3 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.1052, allocations: 48 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.1052, allocations: 44 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.1053, allocations: 87.69 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1055, allocations: 195 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.106, allocations: 494.6 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.106, allocations: 0 / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.106, allocations: 0 / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.106, allocations: 4 kB / 356.7 MB, free: 14.45 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001469/0.1075, allocations: 0.707 MB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1075, allocations: 15.83 kB / 357.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.1076, allocations: 36.56 kB / 357.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.108, allocations: 306.7 kB / 357.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.108, allocations: 24.94 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.1081, allocations: 28.31 kB / 357.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.1089, allocations: 355.4 kB / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1089, allocations: 0 / 358.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.109, allocations: 15.98 kB / 358.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.109, allocations: 8 kB / 358.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.1099, allocations: 298.1 kB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.1121, allocations: 1.286 MB / 359.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.1129, allocations: 230.4 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.1133, allocations: 112.3 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1133, allocations: 8 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/0.1139, allocations: 193.2 kB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 3.146e-06/0.1139, allocations: 0 / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00252/0.1164, allocations: 0.6823 MB / 360.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.1165, allocations: 114.8 kB / 361.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.1168, allocations: 291 kB / 361.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.1168, allocations: 33.7 kB / 361.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.117, allocations: 219.4 kB / 361.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.117, allocations: 47.3 kB / 361.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.1171, allocations: 49.7 kB / 361.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1173, allocations: 342.8 kB / 362 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.1177, allocations: 115.9 kB / 362.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.1181, allocations: 205 kB / 362.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.1189, allocations: 319.7 kB / 362.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1189, allocations: 0 / 362.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001351/0.1203, allocations: 498.5 kB / 363.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.1203, allocations: 33.64 kB / 363.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1204, allocations: 4 kB / 363.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.1208, allocations: 92.8 kB / 363.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.121, allocations: 51.91 kB / 363.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.1238, allocations: 1.994 MB / 365.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.1241, allocations: 55.72 kB / 365.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1242, allocations: 12 kB / 365.4 MB, free: 5.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 24 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.1243, allocations: 154.1 kB / 365.5 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.1244, allocations: 27.7 kB / 365.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.1245, allocations: 29.81 kB / 365.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1245, allocations: 7.938 kB / 365.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1245, allocations: 3.984 kB / 365.6 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1245, allocations: 0 / 365.6 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1248, allocations: 345.3 kB / 365.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1248, allocations: 3.984 kB / 365.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.125, allocations: 27.97 kB / 365.9 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.1253, allocations: 80.81 kB / 366 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1254, allocations: 12.05 kB / 366 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.1277, allocations: 1.805 MB / 367.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1277, allocations: 0 / 367.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.1294, allocations: 0.4922 MB / 368.3 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/0.1295, allocations: 104.8 kB / 368.4 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.1295, allocations: 11.94 kB / 368.5 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.1298, allocations: 31.97 kB / 368.5 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.1299, allocations: 23.91 kB / 368.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1299, allocations: 4 kB / 368.5 MB, free: 1.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.1301, allocations: 206 kB / 368.7 MB, free: 1.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1301, allocations: 4.062 kB / 368.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.1306, allocations: 95.73 kB / 368.8 MB, free: 1.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * 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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001873/0.1308, allocations: 114.5 kB / 368.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1319, allocations: 441.9 kB / 369.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.132, allocations: 4 kB / 369.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.1325, allocations: 247 kB / 369.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1329, allocations: 64.86 kB / 369.7 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1403/0.2732, allocations: 0.6039 MB / 370.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2734, allocations: 0.7683 MB / 371 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2736, allocations: 25.19 kB / 371.1 MB, free: 24.89 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2736, allocations: 0.5312 kB / 371.1 MB, free: 24.89 MB / 302.1 MB Notification: Performance of Templates: time 0.008052/0.2816, allocations: 5.157 MB / 376.2 MB, free: 24.65 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches