Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 55.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2877, allocations: 49.15 MB / 396.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003444/0.2911, allocations: 2.575 MB / 399.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2922, allocations: 0.6248 MB / 400.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2923, allocations: 9.219 kB / 400.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.2925, allocations: 49.22 kB / 400.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.2927, allocations: 86.45 kB / 400.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.2929, allocations: 84.31 kB / 400.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.2932, allocations: 352.5 kB / 400.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.2934, allocations: 111.1 kB / 400.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2936, allocations: 130.9 kB / 400.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.2938, allocations: 135.1 kB / 401 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.2938, allocations: 30.38 kB / 401 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.848e-05/0.2939, allocations: 31.94 kB / 401 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.2939, allocations: 63.89 kB / 401.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2941, allocations: 139 kB / 401.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.2945, allocations: 360.2 kB / 401.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2945, allocations: 1.344 kB / 401.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2945, allocations: 0 / 401.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2945, allocations: 0 / 401.6 MB, free: 6.453 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007789/0.2952, allocations: 0.5211 MB / 402.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2953, allocations: 13.14 kB / 402.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.2954, allocations: 42.05 kB / 402.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.2957, allocations: 199.1 kB / 402.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2957, allocations: 19.72 kB / 402.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.2957, allocations: 31.3 kB / 402.4 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.2961, allocations: 309.4 kB / 402.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2962, allocations: 1.312 kB / 402.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.2962, allocations: 10.16 kB / 402.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2962, allocations: 15.16 kB / 402.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.2965, allocations: 186.8 kB / 402.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2979, allocations: 0.847 MB / 403.8 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.2982, allocations: 163.3 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.2984, allocations: 126.2 kB / 404.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.2985, allocations: 6.156 kB / 404.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2985, allocations: 37.62 kB / 404.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.2985, allocations: 0 / 404.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001309/0.2998, allocations: 0.6889 MB / 404.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.2998, allocations: 57.03 kB / 404.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3, allocations: 193 kB / 405 MB, free: 4.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3, allocations: 31.42 kB / 405.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.3001, allocations: 175.1 kB / 405.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.3001, allocations: 89.48 kB / 405.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.3002, allocations: 51.31 kB / 405.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.3003, allocations: 333.9 kB / 405.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3004, allocations: 74.27 kB / 405.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3005, allocations: 104.6 kB / 405.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.3008, allocations: 177.5 kB / 406 MB, free: 3.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3008, allocations: 0 / 406 MB, free: 3.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005038/0.3013, allocations: 322.7 kB / 406.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3013, allocations: 4.125 kB / 406.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3013, allocations: 1.375 kB / 406.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.3016, allocations: 87 kB / 406.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3018, allocations: 45.83 kB / 406.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.3034, allocations: 1.961 MB / 408.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.3035, allocations: 8.422 kB / 408.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3035, allocations: 10.06 kB / 408.5 MB, free: 1.566 MB / 318.1 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.0001234/0.3037, allocations: 144.5 kB / 408.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.3037, allocations: 21.66 kB / 408.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.3038, allocations: 27.98 kB / 408.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3038, allocations: 2.719 kB / 408.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3038, allocations: 2.531 kB / 408.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3038, allocations: 1.547 kB / 408.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009414/0.3047, allocations: 0.6395 MB / 409.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3047, allocations: 0 / 409.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.3049, allocations: 37.22 kB / 409.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.3051, allocations: 82.69 kB / 409.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3051, allocations: 11.53 kB / 409.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.3068, allocations: 1.844 MB / 411.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3068, allocations: 1.094 kB / 411.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.3076, allocations: 463.7 kB / 411.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.3076, allocations: 22.62 kB / 411.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.3076, allocations: 2.234 kB / 411.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3078, allocations: 13.84 kB / 411.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.3079, allocations: 33.8 kB / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3079, allocations: 5.469 kB / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.308, allocations: 147.4 kB / 412 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.308, allocations: 5.594 kB / 412 MB, free: 14.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.3085, allocations: 79.59 kB / 412 MB, free: 14.89 MB / 334.1 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.0001262/0.3086, allocations: 100.8 kB / 412.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007099/0.3093, allocations: 345.1 kB / 412.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3093, allocations: 4.062 kB / 412.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.3098, allocations: 253.5 kB / 412.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3101, allocations: 31.11 kB / 412.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3115, allocations: 0.7632 MB / 413.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.3117, allocations: 158.5 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.675e-05/0.3118, allocations: 17.17 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.3118, allocations: 16.28 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3118, allocations: 1.531 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.008292/0.3201, allocations: 3.613 MB / 417.3 MB, free: 12.14 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837464723736048]