Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, 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.174/1.174, 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.0009038/0.0009039, allocations: 104.4 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007418/0.0007418, allocations: 39.92 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1774, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005036/0.1825, allocations: 5.694 MB / 379.5 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1846, allocations: 1.211 MB / 380.7 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.1856, allocations: 21.09 kB / 380.7 MB, free: 40.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.1861, allocations: 126.4 kB / 380.9 MB, free: 40.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000652/0.1868, allocations: 237.6 kB / 381.1 MB, free: 39.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.1872, allocations: 184.4 kB / 381.3 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.1879, allocations: 1.03 MB / 382.3 MB, free: 39.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.1884, allocations: 447 kB / 382.7 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.1888, allocations: 385.2 kB / 383.1 MB, free: 38.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.1892, allocations: 469.2 kB / 383.6 MB, free: 38.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.1894, allocations: 77.41 kB / 383.7 MB, free: 38.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1895, allocations: 72.16 kB / 383.7 MB, free: 38.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1896, allocations: 188.9 kB / 383.9 MB, free: 38.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.19, allocations: 488.5 kB / 384.4 MB, free: 37.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.1906, allocations: 1.057 MB / 385.4 MB, free: 37.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1906, allocations: 0 / 385.4 MB, free: 37.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1906, allocations: 0 / 385.4 MB, free: 37.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1906, allocations: 5.062 kB / 385.5 MB, free: 37.07 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001711/0.1923, allocations: 1.244 MB / 386.7 MB, free: 36.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1924, allocations: 8.469 kB / 386.7 MB, free: 36.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.1925, allocations: 106 kB / 386.8 MB, free: 36.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.193, allocations: 451.9 kB / 387.2 MB, free: 35.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.193, allocations: 68.28 kB / 387.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.1931, allocations: 94.19 kB / 387.4 MB, free: 35.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.1941, allocations: 0.8778 MB / 388.3 MB, free: 34.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1942, allocations: 0 / 388.3 MB, free: 34.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.1942, allocations: 44 kB / 388.3 MB, free: 34.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.1942, allocations: 20 kB / 388.3 MB, free: 34.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.195, allocations: 0.57 MB / 388.9 MB, free: 34.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.198, allocations: 2.972 MB / 391.9 MB, free: 31.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.1983, allocations: 303 kB / 392.2 MB, free: 30.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.1986, allocations: 273.7 kB / 392.5 MB, free: 30.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1986, allocations: 8 kB / 392.5 MB, free: 30.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1987, allocations: 42.56 kB / 392.5 MB, free: 30.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.1987, allocations: 0 / 392.5 MB, free: 30.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001134/0.1998, allocations: 0.651 MB / 393.2 MB, free: 29.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1998, allocations: 55.41 kB / 393.2 MB, free: 29.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.2002, allocations: 0.5102 MB / 393.7 MB, free: 29.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.2002, allocations: 41.64 kB / 393.8 MB, free: 29.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2004, allocations: 489.5 kB / 394.2 MB, free: 28.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.2005, allocations: 157.8 kB / 394.4 MB, free: 28.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2006, allocations: 138.4 kB / 394.5 MB, free: 28.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.2007, allocations: 366.8 kB / 394.9 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.2009, allocations: 173.9 kB / 395.1 MB, free: 27.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.2012, allocations: 449.6 kB / 395.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.2017, allocations: 0.6478 MB / 396.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2017, allocations: 4 kB / 396.1 MB, free: 26.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008612/0.2026, allocations: 0.7568 MB / 396.9 MB, free: 25.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2026, allocations: 8 kB / 396.9 MB, free: 25.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.2026, allocations: 12 kB / 396.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.2029, allocations: 81.31 kB / 397 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.2034, allocations: 199.7 kB / 397.2 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.2046, allocations: 1.799 MB / 399 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.205, allocations: 95.03 kB / 399.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.2051, allocations: 43.98 kB / 399.1 MB, free: 23.4 MB / 298.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.0001771/0.2052, allocations: 209.5 kB / 399.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.2053, allocations: 63.28 kB / 399.4 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-05/0.2054, allocations: 65.5 kB / 399.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2054, allocations: 4 kB / 399.5 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2054, allocations: 4 kB / 399.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2054, allocations: 4 kB / 399.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.2059, allocations: 0.6453 MB / 400.1 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2059, allocations: 3.938 kB / 400.1 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.2063, allocations: 95.94 kB / 400.2 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/0.2065, allocations: 72.73 kB / 400.3 MB, free: 22.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2065, allocations: 12 kB / 400.3 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.2076, allocations: 1.792 MB / 402.1 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2076, allocations: 0 / 402.1 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/0.212, allocations: 5.119 MB / 407.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.308e-05/0.2121, allocations: 128.4 kB / 407.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.2121, allocations: 8 kB / 407.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.2125, allocations: 48.12 kB / 407.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.2126, allocations: 35.83 kB / 407.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.2126, allocations: 12 kB / 407.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.2129, allocations: 346.9 kB / 407.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2129, allocations: 0 / 407.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008036/0.2137, allocations: 323.1 kB / 408.1 MB, free: 13.93 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,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.0001107/0.2138, allocations: 126.7 kB / 408.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007053/0.2145, allocations: 0.5854 MB / 408.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2145, allocations: 0 / 408.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.2149, allocations: 330.3 kB / 409.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.2154, allocations: 111 kB / 409.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.2173, allocations: 2.19 MB / 411.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.2176, allocations: 0.9457 MB / 412.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.2179, allocations: 69.22 kB / 412.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.163e-05/0.2179, allocations: 43.44 kB / 412.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.218, allocations: 0 / 412.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of Templates: time 0.0098/0.2278, allocations: 7.944 MB / 420.4 MB, free: 1.508 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches