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.001399/0.001399, allocations: 107.8 kB / 17.06 MB, free: 6.129 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.001325/0.001325, allocations: 192 kB / 18 MB, free: 5.207 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.512/1.512, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 55.91 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.387, allocations: 49.42 MB / 400.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004805/0.3919, allocations: 3.084 MB / 403.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3937, allocations: 0.7559 MB / 404.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.394, allocations: 8 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.3943, allocations: 59.42 kB / 404.7 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.3948, allocations: 115 kB / 404.8 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.3954, allocations: 127.8 kB / 404.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.3962, allocations: 458.2 kB / 405.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.3965, allocations: 134.9 kB / 405.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.3969, allocations: 175.3 kB / 405.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.3972, allocations: 191.2 kB / 405.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.3973, allocations: 44 kB / 405.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.3974, allocations: 44 kB / 405.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3975, allocations: 91.62 kB / 406 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3977, allocations: 191.1 kB / 406.2 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.3984, allocations: 499.4 kB / 406.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.3985, allocations: 4 kB / 406.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3985, allocations: 0 / 406.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3985, 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.001585/0.4001, allocations: 0.7032 MB / 407.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4001, allocations: 11.89 kB / 407.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.4002, allocations: 44.45 kB / 407.4 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.4007, allocations: 310.6 kB / 407.8 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.4008, allocations: 20.94 kB / 407.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.4008, allocations: 28.38 kB / 407.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.4016, allocations: 347.6 kB / 408.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4017, allocations: 0 / 408.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.4017, allocations: 16 kB / 408.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4017, allocations: 8 kB / 408.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000886/0.4026, allocations: 306 kB / 408.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.4049, allocations: 1.282 MB / 409.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.4056, allocations: 226.4 kB / 410 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.406, allocations: 113 kB / 410.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.406, allocations: 0 / 410.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.4065, allocations: 197.8 kB / 410.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4065, allocations: 0 / 410.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002436/0.409, allocations: 0.6901 MB / 411 MB, free: 14.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.409, allocations: 102.8 kB / 411.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.4094, allocations: 298.9 kB / 411.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.4094, allocations: 29.7 kB / 411.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4096, allocations: 211.5 kB / 411.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.4097, allocations: 55.28 kB / 411.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4098, allocations: 53.61 kB / 411.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4099, allocations: 342.8 kB / 412 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.4103, allocations: 111.9 kB / 412.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.4107, allocations: 216.4 kB / 412.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.4115, allocations: 323.8 kB / 412.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4115, allocations: 0 / 412.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001283/0.4128, allocations: 490.2 kB / 413.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.4129, allocations: 41.62 kB / 413.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4129, allocations: 0 / 413.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.4133, allocations: 84.8 kB / 413.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.4136, allocations: 55.94 kB / 413.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.4164, allocations: 2.005 MB / 415.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.4168, allocations: 51.66 kB / 415.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.4169, allocations: 20 kB / 415.4 MB, free: 9.648 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.0002049/0.4171, allocations: 153.6 kB / 415.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.4171, allocations: 27.62 kB / 415.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.4172, allocations: 29.86 kB / 415.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.4172, allocations: 3.938 kB / 415.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.4172, allocations: 0 / 415.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4172, allocations: 3.984 kB / 415.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.4176, allocations: 341.4 kB / 415.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4176, allocations: 0 / 415.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4178, allocations: 35.91 kB / 416 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.4181, allocations: 80.8 kB / 416.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.4181, allocations: 4 kB / 416.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.4205, allocations: 1.812 MB / 417.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4205, allocations: 0 / 417.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.422, allocations: 0.4934 MB / 418.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.4221, allocations: 104.8 kB / 418.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.4222, allocations: 11.94 kB / 418.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4225, allocations: 31.97 kB / 418.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.4225, allocations: 19.97 kB / 418.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.4226, allocations: 8.062 kB / 418.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.4228, allocations: 206 kB / 418.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4228, allocations: 0 / 418.7 MB, free: 6.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.4232, allocations: 87.84 kB / 418.8 MB, free: 5.977 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.0001837/0.4234, allocations: 111.2 kB / 418.9 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.4246, allocations: 445.6 kB / 419.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4247, allocations: 7.875 kB / 419.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.4252, allocations: 243.2 kB / 419.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.4257, allocations: 50.69 kB / 419.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.4273, allocations: 0.5947 MB / 420.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.4278, allocations: 0.7639 MB / 421 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.428, allocations: 26.98 kB / 421 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.428, allocations: 19.44 kB / 421.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4281, allocations: 0 / 421.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of Templates: time 0.009816/0.4379, allocations: 4.464 MB / 425.5 MB, free: 15.22 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