Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 116 kB / 17.99 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.64 kB / 307.1 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1037, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004768/0.1085, allocations: 2.875 MB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1098, allocations: 0.6466 MB / 361.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1099, allocations: 4 kB / 361.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.1101, allocations: 35.75 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1103, allocations: 79.38 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1105, allocations: 63.89 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.1109, allocations: 346.9 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.1112, allocations: 143.3 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1113, allocations: 127.5 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1116, allocations: 151.4 kB / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/0.1116, allocations: 32 kB / 362.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.097e-05/0.1117, allocations: 31.94 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.1117, allocations: 75.75 kB / 362.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.1119, allocations: 155.3 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1122, allocations: 275.5 kB / 362.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1122, allocations: 0 / 362.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.561e-06/0.1122, allocations: 3.984 kB / 362.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1123, allocations: 0 / 362.7 MB, free: 9.336 MB / 302.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.0009406/0.1132, allocations: 0.5925 MB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1133, allocations: 8.031 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1133, allocations: 36.56 kB / 363.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1137, allocations: 259.8 kB / 363.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.1137, allocations: 24.94 kB / 363.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.1138, allocations: 28.28 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.1143, allocations: 257.2 kB / 363.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1143, allocations: 0 / 363.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.1143, allocations: 8 kB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1143, allocations: 11.94 kB / 363.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.1147, allocations: 186.2 kB / 364.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1164, allocations: 1.014 MB / 365.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.1168, allocations: 332.8 kB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1171, allocations: 148.4 kB / 365.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1171, allocations: 0 / 365.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1171, allocations: 34.56 kB / 365.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.1172, allocations: 0 / 365.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001512/0.1187, allocations: 0.7768 MB / 366.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1187, allocations: 55.41 kB / 366.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1189, allocations: 194.1 kB / 366.6 MB, free: 5.098 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.119, allocations: 29.7 kB / 366.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1191, allocations: 168.3 kB / 366.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.1192, allocations: 98.62 kB / 366.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.1193, allocations: 46 kB / 367 MB, free: 4.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1194, allocations: 338.8 kB / 367.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1196, allocations: 68.53 kB / 367.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1198, allocations: 111.5 kB / 367.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1201, allocations: 178.2 kB / 367.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1201, allocations: 0 / 367.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005704/0.1207, allocations: 314 kB / 367.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1207, allocations: 11.12 kB / 367.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1207, allocations: 0 / 367.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.121, allocations: 88.78 kB / 368 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1212, allocations: 51.91 kB / 368.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.1235, allocations: 2.092 MB / 370.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1236, allocations: 11.97 kB / 370.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.1236, allocations: 16 kB / 370.2 MB, free: 1.32 MB / 302.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.0001642/0.1238, allocations: 133.9 kB / 370.3 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.1239, allocations: 19.75 kB / 370.4 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1239, allocations: 29.92 kB / 370.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1239, allocations: 8 kB / 370.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1239, allocations: 0 / 370.4 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.124, allocations: 3.938 kB / 370.4 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1251, allocations: 0.7527 MB / 371.1 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1251, allocations: 0 / 371.1 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.1253, allocations: 35.98 kB / 371.2 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.1255, allocations: 68.8 kB / 371.3 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1256, allocations: 8.047 kB / 371.3 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1634/0.289, allocations: 1.986 MB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.289, allocations: 0 / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.2897, allocations: 462.1 kB / 373.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.2898, allocations: 98.95 kB / 373.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.2898, allocations: 8.141 kB / 373.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.29, allocations: 12.61 kB / 373.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.29, allocations: 20.5 kB / 373.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.2901, allocations: 8.984 kB / 373.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.2902, allocations: 145 kB / 374 MB, free: 18.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2902, allocations: 0 / 374 MB, free: 18.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.2906, allocations: 78.19 kB / 374.1 MB, free: 18.28 MB / 302.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.0001176/0.2908, allocations: 102.3 kB / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006716/0.2914, allocations: 378.2 kB / 374.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2915, allocations: 0 / 374.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.2919, allocations: 260.4 kB / 374.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.2923, allocations: 46.67 kB / 374.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.2935, allocations: 0.9147 MB / 375.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2937, allocations: 0.7692 MB / 376.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.2938, allocations: 19.09 kB / 376.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2938, allocations: 0 / 376.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of Templates: time 0.007315/0.3011, allocations: 4.017 MB / 380.5 MB, free: 16.43 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches