Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 76.08 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.044/1.044, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.805e-05, allocations: 6.25 kB / 268 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008766/0.008804, allocations: 5.657 MB / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003661/0.01246, allocations: 1.157 MB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.01328, allocations: 19.94 kB / 274.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.01379, allocations: 174.3 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009095/0.0147, allocations: 297.2 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.01535, allocations: 223.7 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.01687, allocations: 1.106 MB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/0.01764, allocations: 383 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.01876, allocations: 0.6355 MB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.01958, allocations: 374.9 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.01989, allocations: 96 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.02015, allocations: 96 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.02035, allocations: 227.2 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.021, allocations: 371.1 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.02226, allocations: 0.7122 MB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.02227, allocations: 4 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02227, allocations: 0 / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.113e-05/0.02231, allocations: 0 / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002394/0.02471, allocations: 1.283 MB / 280.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.02477, allocations: 8.922 kB / 280.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.02508, allocations: 184.3 kB / 281 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/0.02588, allocations: 407.6 kB / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.02595, allocations: 66.38 kB / 281.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.02611, allocations: 100.4 kB / 281.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.02763, allocations: 0.9895 MB / 282.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.02766, allocations: 192 / 282.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.02774, allocations: 48.31 kB / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.02777, allocations: 27.94 kB / 282.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009136/0.02869, allocations: 343.7 kB / 283 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004746/0.03343, allocations: 2.786 MB / 285.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.03387, allocations: 218.8 kB / 286 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.03421, allocations: 180.1 kB / 286.1 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.03424, allocations: 11.94 kB / 286.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.03428, allocations: 41.39 kB / 286.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.507e-06/0.03428, allocations: 0 / 286.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001383/0.03566, allocations: 480.7 kB / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.03571, allocations: 59.41 kB / 286.7 MB, free: 3.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.03618, allocations: 0.5139 MB / 287.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.03621, allocations: 33.7 kB / 287.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.03645, allocations: 0.5448 MB / 287.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.459e-05/0.03653, allocations: 162.6 kB / 288 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/0.03695, allocations: 144.2 kB / 288.1 MB, free: 1.863 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.0371, allocations: 0.5351 MB / 288.6 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.03725, allocations: 97.94 kB / 288.7 MB, free: 1.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.03757, allocations: 0.4897 MB / 289.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.147/0.1846, allocations: 0.6409 MB / 289.9 MB, free: 25.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.1846, allocations: 2.219 kB / 289.9 MB, free: 25.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001343/0.186, allocations: 0.6506 MB / 290.5 MB, free: 25.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.186, allocations: 12.47 kB / 290.5 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.186, allocations: 9.812 kB / 290.5 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.1864, allocations: 90.7 kB / 290.6 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.187, allocations: 194.9 kB / 290.8 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.1886, allocations: 2.304 MB / 293.1 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.189, allocations: 83.62 kB / 293.2 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.1891, allocations: 36.12 kB / 293.2 MB, free: 23.22 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002147/0.1893, allocations: 210.7 kB / 293.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1894, allocations: 72.72 kB / 293.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.1895, allocations: 59 kB / 293.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1895, allocations: 4.281 kB / 293.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.1895, allocations: 5.938 kB / 293.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1895, allocations: 2.344 kB / 293.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.1901, allocations: 456.5 kB / 294 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1901, allocations: 0 / 294 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.1904, allocations: 93.5 kB / 294.1 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/0.1907, allocations: 85.2 kB / 294.2 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.1907, allocations: 11.88 kB / 294.2 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.192, allocations: 2.293 MB / 296.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.192, allocations: 0.6094 kB / 296.5 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.1928, allocations: 0.5698 MB / 297.1 MB, free: 20.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.361e-05/0.1929, allocations: 60.69 kB / 297.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1929, allocations: 13.03 kB / 297.2 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.1932, allocations: 49 kB / 297.2 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.1933, allocations: 29.94 kB / 297.2 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1933, allocations: 13.27 kB / 297.2 MB, free: 20.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.1936, allocations: 323.3 kB / 297.6 MB, free: 20.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1936, allocations: 4 kB / 297.6 MB, free: 20.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007926/0.1944, allocations: 248.8 kB / 297.8 MB, free: 20.49 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0001354/0.1945, allocations: 110.2 kB / 297.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.1953, allocations: 0.5495 MB / 298.5 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1953, allocations: 1.406 kB / 298.5 MB, free: 20.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.1957, allocations: 344.8 kB / 298.8 MB, free: 19.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.1963, allocations: 108.4 kB / 298.9 MB, free: 19.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1986, allocations: 1.27 MB / 300.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1988, allocations: 146.6 kB / 300.3 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.199, allocations: 64.94 kB / 300.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.273e-05/0.1991, allocations: 45.66 kB / 300.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1991, allocations: 2.406 kB / 300.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of Templates: time 0.01283/0.2119, allocations: 6.787 MB / 307.2 MB, free: 17.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.195727933663875]