Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009503/0.0009499, allocations: 102.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008422/0.0008422, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1762, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002995/0.1792, allocations: 2.819 MB / 376.6 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006541/0.1799, allocations: 0.65 MB / 377.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.18, allocations: 5.062 kB / 377.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1802, allocations: 40.53 kB / 377.3 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.1803, allocations: 69.58 kB / 377.4 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.1804, allocations: 67.56 kB / 377.5 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.1807, allocations: 338.9 kB / 377.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.1809, allocations: 130.6 kB / 377.9 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.181, allocations: 122.4 kB / 378 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1811, allocations: 143.9 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.1812, allocations: 22.5 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.1812, allocations: 22.47 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.1813, allocations: 60.2 kB / 378.3 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1814, allocations: 155.9 kB / 378.4 MB, free: 42.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1816, allocations: 342.2 kB / 378.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1816, allocations: 4 kB / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1816, allocations: 0 / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1816, allocations: 1 kB / 378.8 MB, free: 42.05 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.0006725/0.1823, allocations: 0.5923 MB / 379.4 MB, free: 41.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1824, allocations: 9.75 kB / 379.4 MB, free: 41.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.1824, allocations: 33.72 kB / 379.4 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1826, allocations: 256.7 kB / 379.7 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1826, allocations: 19.88 kB / 379.7 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.1827, allocations: 30.72 kB / 379.7 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.1831, allocations: 246 kB / 380 MB, free: 41.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1831, allocations: 0 / 380 MB, free: 41.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1831, allocations: 19.41 kB / 380 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1831, allocations: 6.906 kB / 380 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.1834, allocations: 184 kB / 380.2 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1846, allocations: 1.014 MB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1849, allocations: 332.5 kB / 381.5 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.1851, allocations: 141.2 kB / 381.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1851, allocations: 6.219 kB / 381.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.1851, allocations: 37.31 kB / 381.7 MB, free: 39.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.1851, allocations: 4 kB / 381.7 MB, free: 39.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001103/0.1862, allocations: 0.7701 MB / 382.4 MB, free: 39.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.1862, allocations: 58.59 kB / 382.5 MB, free: 39.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1864, allocations: 196.7 kB / 382.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1864, allocations: 34.86 kB / 382.7 MB, free: 38.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.1865, allocations: 166.3 kB / 382.9 MB, free: 38.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1865, allocations: 93.59 kB / 383 MB, free: 38.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.1866, allocations: 46.89 kB / 383 MB, free: 38.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.1866, allocations: 335.4 kB / 383.4 MB, free: 38.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1867, allocations: 75.31 kB / 383.4 MB, free: 38.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1869, allocations: 103.3 kB / 383.5 MB, free: 38.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1871, allocations: 181.9 kB / 383.7 MB, free: 38.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1871, allocations: 1.062 kB / 383.7 MB, free: 38.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004367/0.1876, allocations: 322.2 kB / 384 MB, free: 37.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1876, allocations: 5.156 kB / 384 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1876, allocations: 5.125 kB / 384 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.1878, allocations: 86.94 kB / 384.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.188, allocations: 42.44 kB / 384.2 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.1893, allocations: 1.896 MB / 386.1 MB, free: 36.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1894, allocations: 7.281 kB / 386.1 MB, free: 36.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1895, allocations: 9.688 kB / 386.1 MB, free: 36.16 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 (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 8.78e-05/0.1896, allocations: 143.2 kB / 386.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1896, allocations: 22.16 kB / 386.2 MB, free: 36.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.1897, allocations: 30.25 kB / 386.3 MB, free: 35.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1897, allocations: 10.12 kB / 386.3 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1897, allocations: 2.188 kB / 386.3 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1897, allocations: 0 / 386.3 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008017/0.1905, allocations: 0.7468 MB / 387 MB, free: 35.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1905, allocations: 1.375 kB / 387 MB, free: 35.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1907, allocations: 33.67 kB / 387.1 MB, free: 35.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.1908, allocations: 76.3 kB / 387.1 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1909, allocations: 6.844 kB / 387.1 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.192, allocations: 1.793 MB / 388.9 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.192, allocations: 9.188 kB / 388.9 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.1954, allocations: 4.247 MB / 393.2 MB, free: 29.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.1954, allocations: 96.81 kB / 393.3 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1954, allocations: 8.156 kB / 393.3 MB, free: 29.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1956, allocations: 19.92 kB / 393.3 MB, free: 29.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1957, allocations: 23.91 kB / 393.3 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1957, allocations: 4 kB / 393.3 MB, free: 29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.1957, allocations: 148.3 kB / 393.5 MB, free: 28.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1958, allocations: 4.062 kB / 393.5 MB, free: 28.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.1962, allocations: 108 kB / 393.6 MB, free: 28.74 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 (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 7.829e-05/0.1963, allocations: 103.2 kB / 393.7 MB, free: 28.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.1968, allocations: 366.6 kB / 394.1 MB, free: 28.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1968, allocations: 8 kB / 394.1 MB, free: 28.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.1971, allocations: 262.8 kB / 394.3 MB, free: 27.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1975, allocations: 39.08 kB / 394.4 MB, free: 27.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1986, allocations: 1.246 MB / 395.6 MB, free: 26.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.1987, allocations: 0.7794 MB / 396.4 MB, free: 25.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.1988, allocations: 18.28 kB / 396.4 MB, free: 25.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1988, allocations: 19.44 kB / 396.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.1989, allocations: 0 / 396.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of Templates: time 0.005254/0.2041, allocations: 3.874 MB / 400.3 MB, free: 21.95 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches