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.00155/0.001551, allocations: 197.1 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.5 MB / 244.7 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007626/0.0007625, allocations: 92.61 kB / 296.8 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000224/0.0002241, allocations: 8 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1957, allocations: 51.29 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.001914/0.1977, allocations: 2.388 MB / 410.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006706/0.1983, allocations: 0.6283 MB / 411.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.928e-05/0.1985, allocations: 4 kB / 411.1 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.852e-05/0.1986, allocations: 36.72 kB / 411.1 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.1987, allocations: 77.77 kB / 411.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.1988, allocations: 55.92 kB / 411.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1991, allocations: 323 kB / 411.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1993, allocations: 123.7 kB / 411.7 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.1993, allocations: 108.1 kB / 411.8 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1995, allocations: 131.5 kB / 411.9 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.1995, allocations: 16 kB / 411.9 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.1996, allocations: 16 kB / 411.9 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.1996, allocations: 51.77 kB / 412 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.068e-05/0.1997, allocations: 161 kB / 412.1 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1999, allocations: 256.2 kB / 412.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1999, allocations: 0 / 412.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1999, allocations: 0 / 412.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1999, allocations: 0 / 412.4 MB, free: 23.34 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.0005622/0.2005, allocations: 0.5498 MB / 412.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2005, allocations: 12.03 kB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.2005, allocations: 32.56 kB / 413 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.2008, allocations: 255.7 kB / 413.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2008, allocations: 24.94 kB / 413.3 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.2008, allocations: 32.38 kB / 413.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.2012, allocations: 249.2 kB / 413.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2012, allocations: 0 / 413.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2012, allocations: 11.98 kB / 413.5 MB, free: 22.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2012, allocations: 8 kB / 413.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.2015, allocations: 182.2 kB / 413.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.2026, allocations: 1.017 MB / 414.7 MB, free: 20.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.2029, allocations: 336.8 kB / 415.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2031, allocations: 143 kB / 415.2 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2032, allocations: 4 kB / 415.2 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.2032, allocations: 38.5 kB / 415.3 MB, free: 20.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.2032, allocations: 0 / 415.3 MB, free: 20.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001123/0.2043, allocations: 0.7976 MB / 416.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.2043, allocations: 55.41 kB / 416.1 MB, free: 19.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2045, allocations: 191.1 kB / 416.3 MB, free: 19.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2045, allocations: 33.7 kB / 416.3 MB, free: 19.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.2046, allocations: 168.3 kB / 416.5 MB, free: 18.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.2046, allocations: 94.64 kB / 416.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.2046, allocations: 4 kB / 416.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.2047, allocations: 338.8 kB / 416.9 MB, free: 18.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.2048, allocations: 76.53 kB / 417 MB, free: 18.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.205, allocations: 104.2 kB / 417.1 MB, free: 18.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2052, allocations: 174.2 kB / 417.3 MB, free: 18.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2052, allocations: 7.938 kB / 417.3 MB, free: 18.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004286/0.2056, allocations: 318.1 kB / 417.6 MB, free: 17.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2057, allocations: 4 kB / 417.6 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2057, allocations: 160 / 417.6 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.2059, allocations: 92.78 kB / 417.7 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.2061, allocations: 43.97 kB / 417.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.2074, allocations: 1.897 MB / 419.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2075, allocations: 8.062 kB / 419.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2076, allocations: 12 kB / 419.6 MB, free: 15.61 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.102e-05/0.2076, allocations: 141.7 kB / 419.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.2077, allocations: 15.81 kB / 419.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.2077, allocations: 29.86 kB / 419.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2077, allocations: 4 kB / 419.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2078, allocations: 8 kB / 419.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2078, allocations: 0 / 419.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.2086, allocations: 0.7488 MB / 420.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2086, allocations: 4 kB / 420.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.2088, allocations: 35.98 kB / 420.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.2089, allocations: 80.58 kB / 420.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.209, allocations: 11.98 kB / 420.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.2101, allocations: 1.789 MB / 422.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2101, allocations: 4.062 kB / 422.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.2106, allocations: 464.1 kB / 423 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.2107, allocations: 105 kB / 423.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2107, allocations: 4 kB / 423.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.2109, allocations: 11.94 kB / 423.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.2109, allocations: 23.91 kB / 423.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2109, allocations: 8 kB / 423.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.211, allocations: 144.3 kB / 423.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.211, allocations: 0 / 423.2 MB, free: 11.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.2114, allocations: 80 kB / 423.3 MB, free: 11.68 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 8.881e-05/0.2115, allocations: 103.2 kB / 423.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.212, allocations: 370.4 kB / 423.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.212, allocations: 4.062 kB / 423.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.2124, allocations: 258.5 kB / 424 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2127, allocations: 38.03 kB / 424.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.2136, allocations: 0.9799 MB / 425.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.2138, allocations: 0.7675 MB / 425.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.2138, allocations: 23.44 kB / 425.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2138, allocations: 288 / 425.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of Templates: time 0.004156/0.218, allocations: 3.979 MB / 429.8 MB, free: 5.102 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