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.00135/0.00135, allocations: 110.3 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001565/0.001565, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 64.77 kB / 306.9 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1111, allocations: 50.53 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004881/0.116, allocations: 2.867 MB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1177, allocations: 0.6544 MB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.118, allocations: 4 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1183, allocations: 35.75 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.1186, allocations: 75.33 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1188, allocations: 67.92 kB / 361.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.1193, allocations: 331 kB / 361.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.1195, allocations: 127.9 kB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1197, allocations: 115.6 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.12, allocations: 151.3 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.12, allocations: 23.94 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.1201, allocations: 24 kB / 361.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.1202, allocations: 55.81 kB / 361.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1203, allocations: 155.2 kB / 362.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1206, allocations: 263.5 kB / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1206, allocations: 0 / 362.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1206, allocations: 4 kB / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1206, allocations: 4 kB / 362.4 MB, free: 9.523 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.001075/0.1217, allocations: 0.5965 MB / 363 MB, free: 8.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1218, allocations: 12.02 kB / 363 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.1219, allocations: 36.56 kB / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1221, allocations: 251.8 kB / 363.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1222, allocations: 20.94 kB / 363.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.1222, allocations: 36.28 kB / 363.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.1227, allocations: 257.1 kB / 363.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1228, allocations: 0 / 363.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.1228, allocations: 16 kB / 363.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1228, allocations: 12 kB / 363.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1232, allocations: 182.2 kB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.1249, allocations: 1.006 MB / 364.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.1253, allocations: 335 kB / 365.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.1256, allocations: 136.8 kB / 365.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1256, allocations: 4 kB / 365.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1256, allocations: 42.48 kB / 365.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.664e-06/0.1256, allocations: 0 / 365.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001527/0.1272, allocations: 0.7798 MB / 366.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1272, allocations: 55.41 kB / 366.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1274, allocations: 203 kB / 366.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1274, allocations: 29.7 kB / 366.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1276, allocations: 168.3 kB / 366.5 MB, free: 5.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.1277, allocations: 90.66 kB / 366.6 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.1278, allocations: 45.98 kB / 366.6 MB, free: 4.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1279, allocations: 330.8 kB / 367 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1281, allocations: 76.53 kB / 367 MB, free: 4.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1282, allocations: 107.5 kB / 367.1 MB, free: 4.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.1285, allocations: 178.2 kB / 367.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1285, allocations: 4 kB / 367.3 MB, free: 4.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005388/0.1291, allocations: 318 kB / 367.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1291, allocations: 4 kB / 367.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1291, allocations: 0 / 367.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.1294, allocations: 92.73 kB / 367.7 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1296, allocations: 43.92 kB / 367.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.1318, allocations: 1.897 MB / 369.7 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.1319, allocations: 8.031 kB / 369.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1319, allocations: 8 kB / 369.7 MB, free: 1.723 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.0001396/0.1321, allocations: 145.7 kB / 369.8 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1321, allocations: 23.8 kB / 369.8 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.1322, allocations: 21.88 kB / 369.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1322, allocations: 4 kB / 369.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1322, allocations: 4.062 kB / 369.9 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1322, allocations: 7.984 kB / 369.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1333, allocations: 0.7371 MB / 370.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1333, allocations: 4 kB / 370.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.1335, allocations: 48.02 kB / 370.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.1337, allocations: 76.77 kB / 370.7 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1338, allocations: 4 kB / 370.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1539/0.2877, allocations: 1.786 MB / 372.5 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2877, allocations: 0.5312 kB / 372.5 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.2884, allocations: 461.4 kB / 373 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.2884, allocations: 95.53 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.2885, allocations: 5.109 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2887, allocations: 11.38 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.2887, allocations: 24.98 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.2887, allocations: 9.219 kB / 373.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2889, allocations: 142.7 kB / 373.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2889, allocations: 0.8438 kB / 373.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004322/0.2893, allocations: 76.66 kB / 373.3 MB, free: 18.59 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.0001139/0.2894, allocations: 105.9 kB / 373.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006129/0.29, allocations: 369.2 kB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2901, allocations: 0.9688 kB / 373.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.2904, allocations: 260.8 kB / 374.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.2909, allocations: 36.34 kB / 374.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.292, allocations: 0.9147 MB / 375 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.2922, allocations: 0.7652 MB / 375.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.2922, allocations: 19.31 kB / 375.8 MB, free: 17.03 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2922, allocations: 0 / 375.8 MB, free: 17.03 MB / 302.1 MB Notification: Performance of Templates: time 0.006797/0.299, allocations: 4.012 MB / 379.8 MB, free: 16.77 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.0.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