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.001726/0.001726, allocations: 104.8 kB / 17.06 MB, free: 5.785 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.001676/0.001676, allocations: 195 kB / 18 MB, free: 4.945 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.626/1.626, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 51.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 49.44 MB / 400.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004713/0.4115, allocations: 3.083 MB / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4133, allocations: 0.752 MB / 404.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.4136, allocations: 8 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.4138, allocations: 59.42 kB / 404.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.4141, allocations: 119 kB / 404.8 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.4146, allocations: 123.8 kB / 404.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.4152, allocations: 454.3 kB / 405.3 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.4155, allocations: 134.9 kB / 405.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.4159, allocations: 179.3 kB / 405.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.4161, allocations: 187.2 kB / 405.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.4162, allocations: 44 kB / 405.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.4163, allocations: 44 kB / 405.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.4164, allocations: 87.69 kB / 406 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.4166, allocations: 199.1 kB / 406.2 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005831/0.4172, allocations: 0.4901 MB / 406.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4172, allocations: 0 / 406.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4172, allocations: 0 / 406.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.4172, allocations: 0 / 406.7 MB, free: 2.922 MB / 318.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.001471/0.4187, allocations: 0.7146 MB / 407.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4188, allocations: 19.95 kB / 407.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.895e-05/0.4189, allocations: 36.7 kB / 407.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.4194, allocations: 318.8 kB / 407.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.4194, allocations: 16.94 kB / 407.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.4195, allocations: 32.31 kB / 407.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.4202, allocations: 355.6 kB / 408.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4203, allocations: 0 / 408.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.4203, allocations: 15.98 kB / 408.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4203, allocations: 8 kB / 408.2 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.4211, allocations: 302 kB / 408.5 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.4234, allocations: 1.275 MB / 409.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.4241, allocations: 226.4 kB / 410 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.4245, allocations: 116.8 kB / 410.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.4245, allocations: 0 / 410.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.425, allocations: 197.8 kB / 410.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.425, allocations: 0 / 410.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002617/0.4277, allocations: 0.6863 MB / 411 MB, free: 14.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4278, allocations: 110.8 kB / 411.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.4281, allocations: 291 kB / 411.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4282, allocations: 25.7 kB / 411.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4283, allocations: 220 kB / 411.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.4284, allocations: 55.53 kB / 411.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/0.4285, allocations: 53.66 kB / 411.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4287, allocations: 338.8 kB / 412 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.429, allocations: 115.9 kB / 412.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.4294, allocations: 216.4 kB / 412.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.4302, allocations: 323.8 kB / 412.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4302, allocations: 0 / 412.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00132/0.4315, allocations: 490.5 kB / 413.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.4316, allocations: 37.64 kB / 413.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4316, allocations: 4 kB / 413.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.4321, allocations: 88.86 kB / 413.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.4324, allocations: 51.91 kB / 413.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.435, allocations: 2.002 MB / 415.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.4354, allocations: 51.81 kB / 415.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.4355, allocations: 8 kB / 415.4 MB, free: 9.645 MB / 334.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.0002382/0.4357, allocations: 165.4 kB / 415.6 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.4358, allocations: 31.78 kB / 415.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.4359, allocations: 25.94 kB / 415.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4359, allocations: 7.938 kB / 415.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4359, allocations: 3.984 kB / 415.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4359, allocations: 0 / 415.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.4362, allocations: 341.3 kB / 416 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4363, allocations: 3.984 kB / 416 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.4364, allocations: 35.91 kB / 416 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/0.4368, allocations: 80.81 kB / 416.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.4368, allocations: 3.984 kB / 416.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.4392, allocations: 1.813 MB / 417.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4392, allocations: 3.984 kB / 417.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4406, allocations: 497.4 kB / 418.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4407, allocations: 105 kB / 418.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.4408, allocations: 7.938 kB / 418.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.441, allocations: 36.03 kB / 418.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.4411, allocations: 19.97 kB / 418.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.4412, allocations: 4 kB / 418.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002362/0.4414, allocations: 210 kB / 418.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4414, allocations: 0 / 418.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.4418, allocations: 95.77 kB / 418.9 MB, free: 5.949 MB / 334.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.0001828/0.442, allocations: 119.2 kB / 419 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.4432, allocations: 445.8 kB / 419.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4432, allocations: 0 / 419.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.4437, allocations: 247 kB / 419.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.4441, allocations: 59.3 kB / 419.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4454, allocations: 0.594 MB / 420.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.4458, allocations: 0.7639 MB / 421.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.4459, allocations: 26.98 kB / 421.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.446, allocations: 23.44 kB / 421.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.446, allocations: 0 / 421.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Templates: time 0.01149/0.4575, allocations: 4.453 MB / 425.6 MB, free: 15.18 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/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