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.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 182.4 kB / 16.71 MB, free: 4.969 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.363/1.363, allocations: 225.7 MB / 243.2 MB, free: 10.26 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.0009492/0.0009492, allocations: 101 kB / 294.4 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003037, allocations: 19.94 kB / 354.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2674, allocations: 50.41 MB / 404.6 MB, free: 31.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002829/0.2703, allocations: 2.633 MB / 407.2 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2715, allocations: 0.8128 MB / 408 MB, free: 27.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2717, allocations: 11.88 kB / 408 MB, free: 27.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.2718, allocations: 42.5 kB / 408.1 MB, free: 27.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.2721, allocations: 99.28 kB / 408.2 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2724, allocations: 107.2 kB / 408.3 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.2728, allocations: 434.2 kB / 408.7 MB, free: 27.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.273, allocations: 119.5 kB / 408.8 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.2733, allocations: 151.3 kB / 409 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.2735, allocations: 163.2 kB / 409.1 MB, free: 26.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.2736, allocations: 16 kB / 409.1 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.055e-05/0.2736, allocations: 20 kB / 409.2 MB, free: 26.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.2737, allocations: 55.77 kB / 409.2 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.2739, allocations: 196.8 kB / 409.4 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.2743, allocations: 475.7 kB / 409.9 MB, free: 26.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2743, allocations: 0 / 409.9 MB, free: 26.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2743, allocations: 0 / 409.9 MB, free: 26.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2743, allocations: 0 / 409.9 MB, free: 26.06 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.001148/0.2754, allocations: 0.6763 MB / 410.6 MB, free: 25.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2755, allocations: 8.031 kB / 410.6 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.2756, allocations: 36.56 kB / 410.6 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.2759, allocations: 298.7 kB / 410.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2759, allocations: 20.94 kB / 410.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.276, allocations: 28.38 kB / 410.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.2767, allocations: 371.5 kB / 411.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2767, allocations: 0 / 411.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.2767, allocations: 19.94 kB / 411.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2768, allocations: 8 kB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.2775, allocations: 334 kB / 411.7 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.2794, allocations: 1.307 MB / 413 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007219/0.2801, allocations: 363.5 kB / 413.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.2805, allocations: 156.8 kB / 413.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2806, allocations: 0 / 413.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/0.2811, allocations: 217.7 kB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.2811, allocations: 0 / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001917/0.283, allocations: 0.7098 MB / 414.4 MB, free: 21.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2831, allocations: 110.8 kB / 414.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.2833, allocations: 299.1 kB / 414.8 MB, free: 20.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2833, allocations: 29.7 kB / 414.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.2834, allocations: 204 kB / 415 MB, free: 20.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.2835, allocations: 59.19 kB / 415.1 MB, free: 20.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.2835, allocations: 8 kB / 415.1 MB, free: 20.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.2835, allocations: 338.8 kB / 415.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.2839, allocations: 128.2 kB / 415.5 MB, free: 20.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.2842, allocations: 232.5 kB / 415.8 MB, free: 19.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.2849, allocations: 371.5 kB / 416.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2849, allocations: 0 / 416.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001065/0.2859, allocations: 0.5114 MB / 416.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.286, allocations: 34.33 kB / 416.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.286, allocations: 0 / 416.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.2863, allocations: 72.88 kB / 416.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.2866, allocations: 75.89 kB / 416.8 MB, free: 18.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.2886, allocations: 1.756 MB / 418.6 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.2889, allocations: 59.72 kB / 418.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.2889, allocations: 12 kB / 418.6 MB, free: 16.73 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.2891, allocations: 165.7 kB / 418.8 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.2891, allocations: 27.66 kB / 418.8 MB, free: 16.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.2892, allocations: 34.2 kB / 418.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2892, allocations: 0 / 418.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2892, allocations: 3.984 kB / 418.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2892, allocations: 7.875 kB / 418.9 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.2905, allocations: 0.8317 MB / 419.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2905, allocations: 0 / 419.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.2907, allocations: 59.98 kB / 419.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.2909, allocations: 60.81 kB / 419.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2909, allocations: 4 kB / 419.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.2923, allocations: 1.553 MB / 421.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2924, allocations: 0 / 421.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2936, allocations: 0.6177 MB / 422 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.2937, allocations: 108.7 kB / 422.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.2937, allocations: 4 kB / 422.1 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.294, allocations: 48.02 kB / 422.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.2941, allocations: 15.98 kB / 422.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2941, allocations: 7.984 kB / 422.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.2943, allocations: 210 kB / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2943, allocations: 0 / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.2946, allocations: 79.75 kB / 422.5 MB, free: 12.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000128/0.2948, allocations: 119.1 kB / 422.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2959, allocations: 0.5369 MB / 423.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2959, allocations: 0.5625 kB / 423.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.2963, allocations: 254.5 kB / 423.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.2967, allocations: 52.86 kB / 423.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.299, allocations: 1.014 MB / 424.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2992, allocations: 0.7719 MB / 425.2 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.2993, allocations: 30.97 kB / 425.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.2994, allocations: 23.44 kB / 425.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2994, allocations: 0 / 425.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of Templates: time 0.00631/0.3057, allocations: 3.807 MB / 429.1 MB, free: 5.969 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches