Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 188.9 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 98.03 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008691/0.0008692, allocations: 43.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2911, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00333/0.2945, allocations: 2.841 MB / 402.3 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.2954, allocations: 0.6179 MB / 402.9 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2955, allocations: 8 kB / 402.9 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.2957, allocations: 35.75 kB / 403 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.2959, allocations: 75.38 kB / 403 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.2961, allocations: 63.89 kB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.2964, allocations: 335 kB / 403.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.2966, allocations: 123.9 kB / 403.6 MB, free: 29.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.2967, allocations: 127.5 kB / 403.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.2969, allocations: 143.4 kB / 403.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.2969, allocations: 24 kB / 403.8 MB, free: 28.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.297, allocations: 20 kB / 403.9 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.2971, allocations: 59.7 kB / 403.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2972, allocations: 155.2 kB / 404.1 MB, free: 28.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2974, allocations: 340.3 kB / 404.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.2974, allocations: 4 kB / 404.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2974, allocations: 0 / 404.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2974, allocations: 0 / 404.4 MB, free: 28.42 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.0008592/0.2983, allocations: 0.5941 MB / 405 MB, free: 27.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2984, allocations: 8.031 kB / 405 MB, free: 27.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.2984, allocations: 40.56 kB / 405 MB, free: 27.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2987, allocations: 259.8 kB / 405.3 MB, free: 27.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2987, allocations: 24.88 kB / 405.3 MB, free: 27.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.2988, allocations: 28.38 kB / 405.4 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.2991, allocations: 249.2 kB / 405.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2992, allocations: 4 kB / 405.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.2992, allocations: 8 kB / 405.6 MB, free: 27.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2992, allocations: 8 kB / 405.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.2995, allocations: 190.1 kB / 405.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.3007, allocations: 1.017 MB / 406.8 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.3011, allocations: 328.9 kB / 407.1 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.3013, allocations: 148.8 kB / 407.3 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3013, allocations: 0 / 407.3 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3013, allocations: 38.56 kB / 407.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.3014, allocations: 0 / 407.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001187/0.3025, allocations: 0.7735 MB / 408.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.3026, allocations: 55.41 kB / 408.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3027, allocations: 194.2 kB / 408.3 MB, free: 24.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3028, allocations: 29.7 kB / 408.4 MB, free: 24.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.3028, allocations: 176.3 kB / 408.5 MB, free: 23.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.3029, allocations: 90.64 kB / 408.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.303, allocations: 49.98 kB / 408.7 MB, free: 23.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.303, allocations: 334.8 kB / 409 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3032, allocations: 72.53 kB / 409.1 MB, free: 23.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3033, allocations: 103.6 kB / 409.2 MB, free: 23.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.3035, allocations: 186.1 kB / 409.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3035, allocations: 0 / 409.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004196/0.304, allocations: 318 kB / 409.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.304, allocations: 4 kB / 409.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.304, allocations: 4 kB / 409.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.3042, allocations: 84.84 kB / 409.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3044, allocations: 47.91 kB / 409.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.3059, allocations: 1.889 MB / 411.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.306, allocations: 8.031 kB / 411.7 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.306, allocations: 8.156 kB / 411.7 MB, free: 20.62 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.0001163/0.3062, allocations: 149.7 kB / 411.9 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.3062, allocations: 23.72 kB / 411.9 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.3063, allocations: 29.86 kB / 411.9 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3063, allocations: 4 kB / 411.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3063, allocations: 0 / 411.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3063, allocations: 0 / 411.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.3071, allocations: 0.7463 MB / 412.7 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3071, allocations: 0 / 412.7 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3073, allocations: 35.92 kB / 412.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.3075, allocations: 76.73 kB / 412.8 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3075, allocations: 8 kB / 412.8 MB, free: 19.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.3087, allocations: 1.788 MB / 414.6 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3087, allocations: 0 / 414.6 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.3125, allocations: 4.264 MB / 418.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.3126, allocations: 92.98 kB / 418.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3126, allocations: 11.98 kB / 418.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3127, allocations: 12.06 kB / 418.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.3128, allocations: 23.91 kB / 419 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3129, allocations: 4 kB / 419 MB, free: 12.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.793e-05/0.313, allocations: 149.5 kB / 419.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.313, allocations: 0 / 419.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.3135, allocations: 108 kB / 419.2 MB, free: 12.61 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.0001298/0.3137, allocations: 111.2 kB / 419.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.3142, allocations: 366.4 kB / 419.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3142, allocations: 0 / 419.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.3146, allocations: 262.4 kB / 419.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.315, allocations: 36.27 kB / 420 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3164, allocations: 1.248 MB / 421.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.3166, allocations: 0.7717 MB / 422 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.059e-05/0.3167, allocations: 30.27 kB / 422 MB, free: 9.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.3168, allocations: 19.44 kB / 422.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3168, allocations: 0 / 422.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of Templates: time 0.006816/0.3236, allocations: 3.865 MB / 425.9 MB, free: 5.824 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches