Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001487/0.001487, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 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.001749/0.001749, allocations: 208.7 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 55.92 kB / 379.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 53.36 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007186/0.2525, allocations: 5.808 MB / 438.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.2551, allocations: 1.211 MB / 439.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.2556, allocations: 19.94 kB / 439.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.2561, allocations: 174.3 kB / 439.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000682/0.2568, allocations: 277.5 kB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.2573, allocations: 219.7 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.2586, allocations: 1.06 MB / 441.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006436/0.2592, allocations: 410.8 kB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.2598, allocations: 426.6 kB / 442 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.2604, allocations: 474 kB / 442.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.2605, allocations: 99.94 kB / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2607, allocations: 103.9 kB / 442.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.2609, allocations: 211.3 kB / 442.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005101/0.2614, allocations: 0.5093 MB / 443.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.2626, allocations: 1.106 MB / 444.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2626, allocations: 0 / 444.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2626, allocations: 0 / 444.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.2626, allocations: 4 kB / 444.5 MB, free: 10.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002094/0.2647, allocations: 1.183 MB / 445.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.2648, allocations: 11.97 kB / 445.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.265, allocations: 108.3 kB / 445.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.2657, allocations: 405.5 kB / 446.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.2658, allocations: 70.38 kB / 446.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2659, allocations: 96.36 kB / 446.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2673, allocations: 0.8677 MB / 447.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2673, allocations: 7.984 kB / 447.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.2674, allocations: 44 kB / 447.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.2674, allocations: 28 kB / 447.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2685, allocations: 0.5661 MB / 447.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.273, allocations: 2.88 MB / 450.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.2734, allocations: 265.6 kB / 451 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.2738, allocations: 228.7 kB / 451.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.2738, allocations: 4 kB / 451.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.2738, allocations: 42.56 kB / 451.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.164e-06/0.2739, allocations: 0 / 451.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001439/0.2753, allocations: 0.5759 MB / 451.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.2753, allocations: 59.34 kB / 451.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.2759, allocations: 0.522 MB / 452.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.276, allocations: 29.7 kB / 452.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.2763, allocations: 0.4914 MB / 453 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.2765, allocations: 166.6 kB / 453.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.2767, allocations: 134.6 kB / 453.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2769, allocations: 366.8 kB / 453.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.2772, allocations: 173.9 kB / 453.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.2777, allocations: 449.6 kB / 454.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00088/0.2786, allocations: 0.6508 MB / 454.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2786, allocations: 0 / 454.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00128/0.2799, allocations: 0.7598 MB / 455.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.2799, allocations: 8 kB / 455.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2799, allocations: 8 kB / 455.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.2802, allocations: 88.91 kB / 455.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/0.2809, allocations: 195.7 kB / 455.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.283, allocations: 1.895 MB / 457.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.2835, allocations: 91.36 kB / 457.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.2835, allocations: 40 kB / 458 MB, free: 12.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0003086/0.2839, allocations: 213.5 kB / 458.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.284, allocations: 63.62 kB / 458.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.2841, allocations: 65.5 kB / 458.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2841, allocations: 4 kB / 458.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2841, allocations: 4 kB / 458.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2841, allocations: 3.984 kB / 458.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/0.2849, allocations: 0.621 MB / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2849, allocations: 0 / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.2853, allocations: 104.1 kB / 459 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/0.2856, allocations: 68.75 kB / 459.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.2856, allocations: 15.98 kB / 459.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.2876, allocations: 1.879 MB / 461 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2876, allocations: 0 / 461 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2886, allocations: 0.6664 MB / 461.6 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2887, allocations: 59.61 kB / 461.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.2888, allocations: 4 kB / 461.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.2892, allocations: 47.97 kB / 461.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.2892, allocations: 31.94 kB / 461.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.2893, allocations: 8 kB / 461.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004098/0.2897, allocations: 350.9 kB / 462.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2897, allocations: 0 / 462.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007877/0.2905, allocations: 243.5 kB / 462.4 MB, free: 8.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.000143/0.2906, allocations: 111.2 kB / 462.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2916, allocations: 0.562 MB / 463 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2916, allocations: 4.188 kB / 463.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.2921, allocations: 306.3 kB / 463.3 MB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.2927, allocations: 122.2 kB / 463.5 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.2951, allocations: 1.464 MB / 464.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.2957, allocations: 0.9297 MB / 465.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2959, allocations: 47.38 kB / 465.9 MB, free: 4.422 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2959, allocations: 4 kB / 465.9 MB, free: 4.418 MB / 366.1 MB Notification: Performance of Templates: time 0.01604/0.3119, allocations: 11.09 MB / 477 MB, free: 9.352 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 7.850080072879791]