Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008891/0.0008893, allocations: 92.72 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2856, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00242/0.2881, allocations: 2.396 MB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008675/0.289, allocations: 0.7698 MB / 415.2 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2891, allocations: 8 kB / 415.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.2892, allocations: 38 kB / 415.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.2894, allocations: 79.36 kB / 415.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.2896, allocations: 60.64 kB / 415.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.2898, allocations: 335.6 kB / 415.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.29, allocations: 123.9 kB / 415.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.12e-05/0.2901, allocations: 111.5 kB / 416 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2903, allocations: 127.4 kB / 416.1 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.2903, allocations: 19.94 kB / 416.1 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.2904, allocations: 16 kB / 416.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.2904, allocations: 47.83 kB / 416.2 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.2906, allocations: 172.9 kB / 416.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2908, allocations: 336.2 kB / 416.7 MB, free: 21.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2908, allocations: 3.938 kB / 416.7 MB, free: 21.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2908, allocations: 0 / 416.7 MB, free: 21.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2908, allocations: 0 / 416.7 MB, free: 21.22 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0006695/0.2915, allocations: 0.5459 MB / 417.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2916, allocations: 8.031 kB / 417.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.2916, allocations: 36.56 kB / 417.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2919, allocations: 263.7 kB / 417.5 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2919, allocations: 20.94 kB / 417.5 MB, free: 20.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.292, allocations: 28.38 kB / 417.6 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.2923, allocations: 249.2 kB / 417.8 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2924, allocations: 0 / 417.8 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2924, allocations: 16 kB / 417.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2924, allocations: 4 kB / 417.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.2927, allocations: 190.2 kB / 418 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.294, allocations: 1.021 MB / 419 MB, free: 18.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.2943, allocations: 336.9 kB / 419.4 MB, free: 18.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.2945, allocations: 152.7 kB / 419.5 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.2945, allocations: 0 / 419.5 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2945, allocations: 38.56 kB / 419.5 MB, free: 18.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 9.21e-07/0.2946, allocations: 4 kB / 419.5 MB, free: 18.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001209/0.2958, allocations: 0.7765 MB / 420.3 MB, free: 17.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2958, allocations: 59.39 kB / 420.4 MB, free: 17.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.296, allocations: 199 kB / 420.6 MB, free: 17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.296, allocations: 25.7 kB / 420.6 MB, free: 16.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.2961, allocations: 168.3 kB / 420.8 MB, free: 16.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.2961, allocations: 98.64 kB / 420.9 MB, free: 16.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.2961, allocations: 4 kB / 420.9 MB, free: 16.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.2962, allocations: 342.8 kB / 421.2 MB, free: 16.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2963, allocations: 68.53 kB / 421.3 MB, free: 16.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2964, allocations: 102.8 kB / 421.4 MB, free: 16.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.2967, allocations: 176.8 kB / 421.5 MB, free: 16.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2967, allocations: 7.938 kB / 421.5 MB, free: 16 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004176/0.2971, allocations: 314.1 kB / 421.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.2971, allocations: 4 kB / 421.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2971, allocations: 4 kB / 421.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.2974, allocations: 88.78 kB / 422 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2975, allocations: 47.97 kB / 422 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.299, allocations: 1.901 MB / 423.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2991, allocations: 12.02 kB / 423.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2991, allocations: 4 kB / 423.9 MB, free: 13.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.2992, allocations: 149.7 kB / 424.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.2993, allocations: 19.81 kB / 424.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.2993, allocations: 25.88 kB / 424.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2993, allocations: 3.984 kB / 424.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.2993, allocations: 4 kB / 424.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2993, allocations: 4.062 kB / 424.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000837/0.3002, allocations: 0.7527 MB / 424.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3002, allocations: 0 / 424.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.3004, allocations: 35.92 kB / 424.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/0.3005, allocations: 76.64 kB / 425 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3006, allocations: 11.98 kB / 425 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.3018, allocations: 1.784 MB / 426.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3018, allocations: 0 / 426.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.3024, allocations: 474.3 kB / 427.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.3024, allocations: 92.92 kB / 427.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3025, allocations: 4.062 kB / 427.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3026, allocations: 16.11 kB / 427.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.3027, allocations: 31.91 kB / 427.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3027, allocations: 4 kB / 427.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3028, allocations: 139.2 kB / 427.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3028, allocations: 0 / 427.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.3033, allocations: 80 kB / 427.6 MB, free: 9.562 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001811/0.3035, allocations: 109.5 kB / 427.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006455/0.3041, allocations: 377.8 kB / 428.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3041, allocations: 0 / 428.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.3045, allocations: 261.8 kB / 428.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3049, allocations: 41.09 kB / 428.4 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3061, allocations: 0.9818 MB / 429.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.3063, allocations: 0.7636 MB / 430.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.444e-05/0.3064, allocations: 26.22 kB / 430.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.3065, allocations: 15.44 kB / 430.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3065, allocations: 0 / 430.2 MB, free: 6.934 MB / 298.7 MB Notification: Performance of Templates: time 0.005596/0.3121, allocations: 3 MB / 433.2 MB, free: 3.934 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches