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.001503/0.001503, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.001748/0.001749, allocations: 197.3 kB / 18.21 MB, free: 5.406 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.411/1.411, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 51.45 kB / 300.8 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0983/0.0995, allocations: 49.45 MB / 350.3 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004947/0.1045, allocations: 3.111 MB / 353.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1063, allocations: 0.7637 MB / 354.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004218/0.1068, allocations: 8 kB / 354.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.1072, allocations: 43.67 kB / 354.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.1077, allocations: 99.3 kB / 354.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.1082, allocations: 107.8 kB / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000752/0.109, allocations: 454.2 kB / 354.8 MB, free: 156 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.1093, allocations: 134.9 kB / 355 MB, free: 20 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000419/0.1098, allocations: 187.2 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.1101, allocations: 187.2 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.1102, allocations: 48 kB / 355.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.1103, allocations: 44 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.1104, allocations: 83.7 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.1107, allocations: 195.1 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.1112, allocations: 395.3 kB / 356.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1112, allocations: 0 / 356.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1112, allocations: 3.938 kB / 356.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1112, allocations: 7.938 kB / 356.1 MB, free: 14.89 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.001607/0.1128, allocations: 0.7032 MB / 356.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1129, allocations: 11.89 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.113, allocations: 40.55 kB / 356.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.1134, allocations: 306.7 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1135, allocations: 28.88 kB / 357.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.1135, allocations: 32.36 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007989/0.1143, allocations: 347.6 kB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1144, allocations: 0 / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.1144, allocations: 12 kB / 357.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.1144, allocations: 8 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.1153, allocations: 298 kB / 357.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.1176, allocations: 1.29 MB / 359.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.1182, allocations: 226.4 kB / 359.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.1186, allocations: 108.8 kB / 359.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1186, allocations: 11.98 kB / 359.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/0.1192, allocations: 193.2 kB / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.1192, allocations: 0 / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002336/0.1215, allocations: 0.6862 MB / 360.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.1216, allocations: 106.8 kB / 360.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.122, allocations: 291 kB / 360.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.122, allocations: 37.7 kB / 360.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1222, allocations: 211.5 kB / 361 MB, free: 9.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.1222, allocations: 51.28 kB / 361 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1224, allocations: 49.7 kB / 361.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1225, allocations: 346.7 kB / 361.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.1229, allocations: 111.9 kB / 361.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.1234, allocations: 207.9 kB / 361.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.1242, allocations: 327.7 kB / 362 MB, free: 8.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1242, allocations: 0 / 362 MB, free: 8.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001252/0.1254, allocations: 498.8 kB / 362.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.1255, allocations: 36.45 kB / 362.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1255, allocations: 4 kB / 362.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.1259, allocations: 88.8 kB / 362.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1261, allocations: 59.89 kB / 362.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.1288, allocations: 1.986 MB / 364.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.1291, allocations: 59.7 kB / 364.8 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1292, allocations: 16 kB / 364.8 MB, free: 5.629 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.0001774/0.1294, allocations: 145.8 kB / 364.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1294, allocations: 23.72 kB / 364.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.1295, allocations: 29.86 kB / 365 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1295, allocations: 7.938 kB / 365 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1295, allocations: 0 / 365 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1295, allocations: 4.031 kB / 365 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.1299, allocations: 349.3 kB / 365.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1299, allocations: 0 / 365.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.1301, allocations: 31.97 kB / 365.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.1304, allocations: 84.73 kB / 365.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1304, allocations: 4 kB / 365.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.1327, allocations: 1.809 MB / 367.3 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1327, allocations: 3.938 kB / 367.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.1341, allocations: 0.4896 MB / 367.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.1342, allocations: 100.8 kB / 367.8 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1342, allocations: 7.938 kB / 367.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.1345, allocations: 35.95 kB / 367.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.1346, allocations: 19.97 kB / 367.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.1346, allocations: 8 kB / 367.9 MB, free: 2.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.1348, allocations: 206 kB / 368.1 MB, free: 2.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1349, allocations: 4.062 kB / 368.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.1353, allocations: 87.75 kB / 368.2 MB, free: 1.957 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.0001376/0.1354, allocations: 106 kB / 368.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1365, allocations: 458 kB / 368.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1365, allocations: 4 kB / 368.8 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.137, allocations: 243.1 kB / 369 MB, free: 1.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1373, allocations: 60.83 kB / 369.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1386, allocations: 0.7108 MB / 369.8 MB, free: 328 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1463/0.2849, allocations: 0.771 MB / 370.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.285, allocations: 23.34 kB / 370.6 MB, free: 25.12 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2851, allocations: 0 / 370.6 MB, free: 25.12 MB / 302.1 MB Notification: Performance of Templates: time 0.009244/0.2943, allocations: 5.17 MB / 375.7 MB, free: 24.88 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