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.001643/0.001643, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002343/0.002343, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.001598/0.001598, allocations: 47.92 kB / 379 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2664, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006797/0.2732, allocations: 5.086 MB / 437.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.2753, allocations: 1.169 MB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.2757, allocations: 23.94 kB / 438.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.276, allocations: 166.4 kB / 438.8 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.2765, allocations: 289.5 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.277, allocations: 223.7 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.278, allocations: 1.063 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006452/0.2787, allocations: 410.5 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.2791, allocations: 426.6 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.2797, allocations: 470 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.2799, allocations: 103.9 kB / 441.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.28, allocations: 96 kB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.2802, allocations: 223.3 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.2806, allocations: 434.1 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.2818, allocations: 1.119 MB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2818, allocations: 0 / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2818, allocations: 0 / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.2818, allocations: 0 / 443.6 MB, free: 11.38 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.002083/0.2839, allocations: 1.175 MB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.284, allocations: 16.03 kB / 444.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.2841, allocations: 108.3 kB / 444.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/0.2848, allocations: 405.5 kB / 445.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.2849, allocations: 66.38 kB / 445.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2851, allocations: 96.38 kB / 445.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.2867, allocations: 1.144 MB / 446.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.2868, allocations: 3.938 kB / 446.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.2868, allocations: 48 kB / 446.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.2869, allocations: 24 kB / 446.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2879, allocations: 0.5622 MB / 447.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004172/0.2921, allocations: 2.549 MB / 449.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.2925, allocations: 273.5 kB / 450.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.2929, allocations: 225.2 kB / 450.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2929, allocations: 4 kB / 450.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.2929, allocations: 42.56 kB / 450.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.2929, allocations: 0 / 450.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001476/0.2944, allocations: 0.5759 MB / 450.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2944, allocations: 55.41 kB / 451 MB, free: 3.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.295, allocations: 0.4977 MB / 451.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.295, allocations: 29.7 kB / 451.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.2954, allocations: 0.4991 MB / 452 MB, free: 2.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.2955, allocations: 166.6 kB / 452.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.2957, allocations: 134.6 kB / 452.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2959, allocations: 366.7 kB / 452.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.2962, allocations: 173.9 kB / 452.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.2967, allocations: 453.5 kB / 453.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.2976, allocations: 0.6547 MB / 453.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2976, allocations: 0 / 453.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001257/0.2988, allocations: 0.7599 MB / 454.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2989, allocations: 8 kB / 454.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2989, allocations: 12 kB / 454.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.2991, allocations: 76.81 kB / 454.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.2998, allocations: 199.8 kB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.3018, allocations: 1.86 MB / 456.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3022, allocations: 79.41 kB / 456.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.3022, allocations: 40.06 kB / 456.9 MB, free: 13.35 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.0002484/0.3025, allocations: 223.5 kB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.3026, allocations: 59.91 kB / 457.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.3027, allocations: 65.03 kB / 457.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3027, allocations: 4 kB / 457.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3027, allocations: 3.938 kB / 457.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3027, allocations: 3.984 kB / 457.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.3033, allocations: 456.8 kB / 457.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3033, allocations: 0 / 457.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3037, allocations: 107.9 kB / 457.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.3039, allocations: 68.75 kB / 457.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.304, allocations: 11.98 kB / 457.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.3058, allocations: 1.844 MB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3058, allocations: 3.984 kB / 459.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.3067, allocations: 0.6469 MB / 460.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.3068, allocations: 59.72 kB / 460.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.3069, allocations: 20.06 kB / 460.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.3073, allocations: 40.25 kB / 460.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.3073, allocations: 31.88 kB / 460.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.3074, allocations: 23.98 kB / 460.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003426/0.3077, allocations: 322.8 kB / 460.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3077, allocations: 0 / 460.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007447/0.3085, allocations: 263.3 kB / 461.2 MB, free: 8.977 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.0001237/0.3086, allocations: 103.2 kB / 461.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009416/0.3095, allocations: 0.5695 MB / 461.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3095, allocations: 0 / 461.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.31, allocations: 302.4 kB / 462.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.3105, allocations: 96.83 kB / 462.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3127, allocations: 1.429 MB / 463.6 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.313, allocations: 339.8 kB / 464 MB, free: 6.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.3132, allocations: 60.94 kB / 464 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.3133, allocations: 35.44 kB / 464.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3133, allocations: 4 kB / 464.1 MB, free: 5.965 MB / 366.1 MB Notification: Performance of Templates: time 0.01481/0.3281, allocations: 7.977 MB / 472.1 MB, free: 14.11 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 -s gbode -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: 4.669537715992192]