Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 179.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007247/0.0007246, allocations: 93.58 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 7.938 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2685, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.002426/0.2709, allocations: 2.633 MB / 407.2 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.2719, allocations: 0.8126 MB / 408 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.272, allocations: 7.938 kB / 408 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.2721, allocations: 40.34 kB / 408.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2723, allocations: 101.1 kB / 408.2 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.2726, allocations: 101.2 kB / 408.3 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.2729, allocations: 434.1 kB / 408.7 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2731, allocations: 117.6 kB / 408.8 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.2733, allocations: 151.4 kB / 409 MB, free: 26.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.2734, allocations: 155.2 kB / 409.1 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.2735, allocations: 20 kB / 409.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.2735, allocations: 20 kB / 409.2 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.2736, allocations: 71.67 kB / 409.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.2737, allocations: 192.8 kB / 409.4 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.274, allocations: 467.7 kB / 409.9 MB, free: 26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.274, allocations: 0 / 409.9 MB, free: 26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.274, allocations: 0 / 409.9 MB, free: 26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.274, allocations: 0 / 409.9 MB, free: 26 MB / 298.7 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.00103/0.2751, allocations: 0.6682 MB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2751, allocations: 8.031 kB / 410.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.2752, allocations: 36.56 kB / 410.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2755, allocations: 302.7 kB / 410.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.2755, allocations: 20.94 kB / 410.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.2755, allocations: 28.38 kB / 410.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.2762, allocations: 371.5 kB / 411.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2762, allocations: 0 / 411.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.2762, allocations: 15.94 kB / 411.3 MB, free: 24.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2762, allocations: 8 kB / 411.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.277, allocations: 330 kB / 411.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2787, allocations: 1.321 MB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.2793, allocations: 258.4 kB / 413.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.2796, allocations: 128.8 kB / 413.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2796, allocations: 7.984 kB / 413.3 MB, free: 22.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004469/0.2801, allocations: 201.9 kB / 413.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.2801, allocations: 0 / 413.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002052/0.2821, allocations: 0.7647 MB / 414.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.2822, allocations: 114.7 kB / 414.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.2825, allocations: 287 kB / 414.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2825, allocations: 37.64 kB / 414.7 MB, free: 20.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2826, allocations: 211.5 kB / 414.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.2826, allocations: 47.34 kB / 415 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.2827, allocations: 8 kB / 415 MB, free: 20.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.2827, allocations: 342.8 kB / 415.3 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.2831, allocations: 123.9 kB / 415.4 MB, free: 20.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.2834, allocations: 219.9 kB / 415.7 MB, free: 19.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.284, allocations: 353.6 kB / 416 MB, free: 19.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.284, allocations: 0 / 416 MB, free: 19.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001067/0.2851, allocations: 0.517 MB / 416.5 MB, free: 18.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.2851, allocations: 37.64 kB / 416.6 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2852, allocations: 0 / 416.6 MB, free: 18.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003417/0.2855, allocations: 104.8 kB / 416.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2857, allocations: 55.95 kB / 416.7 MB, free: 18.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.2876, allocations: 1.83 MB / 418.5 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.2879, allocations: 75.64 kB / 418.6 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.288, allocations: 12 kB / 418.6 MB, free: 16.68 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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.0001239/0.2881, allocations: 153.8 kB / 418.8 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.2881, allocations: 23.72 kB / 418.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.2882, allocations: 33.86 kB / 418.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2882, allocations: 0 / 418.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.2882, allocations: 7.938 kB / 418.8 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2882, allocations: 7.922 kB / 418.9 MB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.2884, allocations: 337.3 kB / 419.2 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2885, allocations: 0 / 419.2 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.2886, allocations: 36.09 kB / 419.2 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.2889, allocations: 92.8 kB / 419.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2889, allocations: 0 / 419.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.2906, allocations: 1.714 MB / 421 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.2906, allocations: 3.984 kB / 421 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2918, allocations: 0.5403 MB / 421.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.2919, allocations: 108.8 kB / 421.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2919, allocations: 0 / 421.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.2921, allocations: 43.95 kB / 421.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.2922, allocations: 24.03 kB / 421.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2923, allocations: 4 kB / 421.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.2925, allocations: 206 kB / 421.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.2925, allocations: 0 / 421.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.2929, allocations: 87.75 kB / 422 MB, free: 13.05 MB / 298.7 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.0002202/0.2931, allocations: 119.6 kB / 422.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008934/0.294, allocations: 473.9 kB / 422.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.294, allocations: 0 / 422.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.2944, allocations: 271 kB / 422.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2948, allocations: 52.8 kB / 422.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.2957, allocations: 0.7247 MB / 423.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2959, allocations: 0.768 MB / 424.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.2961, allocations: 26.97 kB / 424.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.2961, allocations: 27.44 kB / 424.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2961, allocations: 0 / 424.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of Templates: time 0.006797/0.3029, allocations: 4.029 MB / 428.5 MB, free: 6.496 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches