Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001003, allocations: 196.5 kB / 17.05 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 226.6 MB / 244.3 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008032/0.0008033, allocations: 89.77 kB / 296.4 MB, free: 6.793 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002324/0.0002324, allocations: 8 kB / 356.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.21, allocations: 51.3 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002122/0.2122, allocations: 2.384 MB / 409.9 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007348/0.213, allocations: 0.624 MB / 410.5 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2131, allocations: 4 kB / 410.5 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2132, allocations: 40.31 kB / 410.5 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2133, allocations: 77.28 kB / 410.6 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.2135, allocations: 48.98 kB / 410.7 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.2137, allocations: 323 kB / 411 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.2139, allocations: 110.1 kB / 411.1 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.214, allocations: 111.5 kB / 411.2 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.2141, allocations: 127.5 kB / 411.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.2142, allocations: 16 kB / 411.3 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.956e-05/0.2142, allocations: 16 kB / 411.4 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.2143, allocations: 50.44 kB / 411.4 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.2143, allocations: 77.58 kB / 411.5 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2145, allocations: 260.2 kB / 411.7 MB, free: 23.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2145, allocations: 4 kB / 411.7 MB, free: 23.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2145, allocations: 0 / 411.7 MB, free: 23.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2145, allocations: 0 / 411.7 MB, free: 23.55 MB / 298.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.000625/0.2151, allocations: 0.5496 MB / 412.3 MB, free: 22.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2152, allocations: 8.031 kB / 412.3 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.2152, allocations: 31.62 kB / 412.3 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.2154, allocations: 246.5 kB / 412.6 MB, free: 22.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.2155, allocations: 28.55 kB / 412.6 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.2155, allocations: 35.95 kB / 412.6 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.2159, allocations: 244.9 kB / 412.9 MB, free: 22.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2159, allocations: 0 / 412.9 MB, free: 22.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.2159, allocations: 16 kB / 412.9 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.216, allocations: 4 kB / 412.9 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.2162, allocations: 190.1 kB / 413.1 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.2174, allocations: 1.022 MB / 414.1 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.2177, allocations: 343.5 kB / 414.4 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.2179, allocations: 149.1 kB / 414.6 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.2179, allocations: 192 / 414.6 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2179, allocations: 38.75 kB / 414.6 MB, free: 20.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/0.2179, allocations: 4 kB / 414.6 MB, free: 20.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001135/0.2191, allocations: 0.7804 MB / 415.4 MB, free: 19.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.2191, allocations: 59.36 kB / 415.5 MB, free: 19.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2192, allocations: 191.2 kB / 415.6 MB, free: 19.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2193, allocations: 25.7 kB / 415.7 MB, free: 19.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.2193, allocations: 176.2 kB / 415.8 MB, free: 19.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.2194, allocations: 98.64 kB / 415.9 MB, free: 19.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.2194, allocations: 4 kB / 415.9 MB, free: 19.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.2194, allocations: 334.8 kB / 416.3 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2196, allocations: 68.53 kB / 416.3 MB, free: 18.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.2197, allocations: 103.6 kB / 416.4 MB, free: 18.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2198, allocations: 91.91 kB / 416.5 MB, free: 18.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2199, allocations: 0 / 416.5 MB, free: 18.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004166/0.2203, allocations: 318.6 kB / 416.8 MB, free: 18.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2203, allocations: 8 kB / 416.8 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2203, allocations: 0 / 416.8 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.2205, allocations: 92.73 kB / 416.9 MB, free: 18.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2207, allocations: 47.97 kB / 417 MB, free: 17.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.222, allocations: 1.895 MB / 418.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2221, allocations: 8.031 kB / 418.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2222, allocations: 12.06 kB / 418.9 MB, free: 15.92 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/0.2223, allocations: 141.7 kB / 419 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.2223, allocations: 19.81 kB / 419.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.2223, allocations: 29.86 kB / 419.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2224, allocations: 0 / 419.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2224, allocations: 4 kB / 419.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2224, allocations: 96 / 419.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000789/0.2232, allocations: 0.7527 MB / 419.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2232, allocations: 0 / 419.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2233, allocations: 51.91 kB / 419.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.2235, allocations: 64.8 kB / 420 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2235, allocations: 8 kB / 420 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.2247, allocations: 1.788 MB / 421.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2247, allocations: 0 / 421.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.2252, allocations: 472.2 kB / 422.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.2252, allocations: 96.81 kB / 422.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.2252, allocations: 4.062 kB / 422.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.2254, allocations: 20 kB / 422.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.2255, allocations: 19.92 kB / 422.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2255, allocations: 11.98 kB / 422.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.2256, allocations: 140.3 kB / 422.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2256, allocations: 0 / 422.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.2259, allocations: 76 kB / 422.6 MB, free: 12 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001005/0.226, allocations: 111.5 kB / 422.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.2265, allocations: 366.4 kB / 423 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2265, allocations: 0 / 423 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.2269, allocations: 262.6 kB / 423.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2272, allocations: 31.98 kB / 423.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.2282, allocations: 0.974 MB / 424.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2283, allocations: 0.7675 MB / 425.1 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.2284, allocations: 15.44 kB / 425.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2284, allocations: 0 / 425.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of Templates: time 0.004148/0.2326, allocations: 3.99 MB / 429.1 MB, free: 5.426 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches