Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00244/0.00244, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.00279/0.00279, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.554/1.554, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.846e-05/4.073e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.007448/0.007488, allocations: 2.799 MB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.009582, allocations: 0.6388 MB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.009803, allocations: 4 kB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.01005, allocations: 51.5 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.01041, allocations: 91.14 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.01075, allocations: 79.81 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.01143, allocations: 366.7 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.0118, allocations: 99.83 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.01223, allocations: 203.6 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.01257, allocations: 107.7 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.01266, allocations: 32 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/0.01275, allocations: 32 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.01285, allocations: 71.75 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.01307, allocations: 119.7 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.01375, allocations: 366.9 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.01376, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.01376, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.01377, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.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.001653/0.01542, allocations: 0.6478 MB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.01549, allocations: 12.03 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.01567, allocations: 52.75 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.01621, allocations: 208.1 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.01625, allocations: 21.03 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.01635, allocations: 28.38 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.01717, allocations: 294 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01719, allocations: 4.188 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.01724, allocations: 12.38 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.01725, allocations: 11.94 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.01788, allocations: 174.5 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.0209, allocations: 0.9725 MB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.02151, allocations: 163.1 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.02189, allocations: 123.6 kB / 280.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.02192, allocations: 8 kB / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.02197, allocations: 41.39 kB / 280.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.295e-06/0.02197, allocations: 0 / 280.1 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.002365/0.02434, allocations: 0.7171 MB / 280.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.0244, allocations: 55.34 kB / 280.9 MB, free: 9.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.02481, allocations: 267.4 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.02486, allocations: 33.7 kB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.0251, allocations: 223.3 kB / 281.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.02524, allocations: 95.22 kB / 281.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.0254, allocations: 59.64 kB / 281.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000434/0.02584, allocations: 0.5079 MB / 282.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.02609, allocations: 68.53 kB / 282.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.0264, allocations: 104.5 kB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.02696, allocations: 187.3 kB / 282.4 MB, free: 7.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02697, allocations: 4 kB / 282.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001081/0.02805, allocations: 336.9 kB / 282.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.02807, allocations: 4 kB / 282.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.02808, allocations: 3.984 kB / 282.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.02866, allocations: 103.5 kB / 282.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.02899, allocations: 43.97 kB / 282.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/0.03352, allocations: 2.591 MB / 285.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.03373, allocations: 8 kB / 285.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.03376, allocations: 4 kB / 285.5 MB, free: 4.215 MB / 266.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.000297/0.03405, allocations: 184.5 kB / 285.7 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.03417, allocations: 39.78 kB / 285.7 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.653e-05/0.03426, allocations: 25.97 kB / 285.7 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.03427, allocations: 8.031 kB / 285.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.03427, allocations: 0 / 285.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.03428, allocations: 0 / 285.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.03647, allocations: 0.7272 MB / 286.5 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.03647, allocations: 0 / 286.5 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.0368, allocations: 35.92 kB / 286.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.0373, allocations: 87.64 kB / 286.6 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.03734, allocations: 8 kB / 286.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/0.04126, allocations: 2.474 MB / 289.1 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.04126, allocations: 0 / 289.1 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.04258, allocations: 0.5079 MB / 289.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.04264, allocations: 15.86 kB / 289.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.04269, allocations: 12.03 kB / 289.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.04298, allocations: 15.98 kB / 289.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.04308, allocations: 15.97 kB / 289.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.04311, allocations: 11.98 kB / 289.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.0434, allocations: 193 kB / 289.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0434, allocations: 0 / 289.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000804/0.0442, allocations: 79.94 kB / 289.9 MB, free: 15.59 MB / 282.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.00023/0.04443, allocations: 111.2 kB / 290 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.0457, allocations: 421.1 kB / 290.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.0457, allocations: 0 / 290.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.04658, allocations: 325.2 kB / 290.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.0472, allocations: 40.11 kB / 290.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.04921, allocations: 0.674 MB / 291.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.04947, allocations: 150.9 kB / 291.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.0496, allocations: 17.95 kB / 291.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.04967, allocations: 20.5 kB / 291.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.04968, allocations: 0 / 291.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of Templates: time 0.01033/0.06, allocations: 3.328 MB / 295 MB, free: 10.46 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.634724413976073]