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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 89.05 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 174 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.000344, allocations: 8 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 50.42 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005643/0.13, allocations: 5.301 MB / 357.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1329, allocations: 1.149 MB / 358.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007173/0.1337, allocations: 16 kB / 358.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.1341, allocations: 127 kB / 358.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007587/0.1348, allocations: 238 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.1354, allocations: 191.8 kB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1367, allocations: 1.017 MB / 359.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008256/0.1375, allocations: 452.5 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.138, allocations: 350.6 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.1385, allocations: 402 kB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.1386, allocations: 48 kB / 361.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1388, allocations: 52 kB / 361.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.1389, allocations: 159.3 kB / 361.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.1394, allocations: 475.3 kB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1404, allocations: 1.031 MB / 362.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1404, allocations: 0 / 362.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.1404, allocations: 0 / 362.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1404, allocations: 0 / 362.8 MB, free: 8.434 MB / 302.1 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.002015/0.1425, allocations: 1.08 MB / 363.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1425, allocations: 8.031 kB / 363.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1427, allocations: 111.7 kB / 364 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.1432, allocations: 451.2 kB / 364.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.1433, allocations: 66.38 kB / 364.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.1434, allocations: 104.3 kB / 364.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1448, allocations: 0.8716 MB / 365.5 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.1448, allocations: 4 kB / 365.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.1449, allocations: 40 kB / 365.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.1449, allocations: 24 kB / 365.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.146, allocations: 0.5739 MB / 366.1 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.1502, allocations: 2.976 MB / 369.1 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.1507, allocations: 297.2 kB / 369.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.151, allocations: 272.7 kB / 369.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1511, allocations: 4 kB / 369.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1511, allocations: 42.56 kB / 369.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/0.1511, allocations: 3.938 kB / 369.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001475/0.1526, allocations: 0.6627 MB / 370.3 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1527, allocations: 55.41 kB / 370.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.1532, allocations: 0.5141 MB / 370.9 MB, free: 8 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2564/0.4096, allocations: 30.64 kB / 370.9 MB, free: 24.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/0.4102, allocations: 488 kB / 371.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.4104, allocations: 155.8 kB / 371.6 MB, free: 24.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4105, allocations: 66.72 kB / 371.6 MB, free: 24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4106, allocations: 364.8 kB / 372 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.4111, allocations: 174 kB / 372.2 MB, free: 23.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.4116, allocations: 459.3 kB / 372.6 MB, free: 23.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008608/0.4125, allocations: 0.6516 MB / 373.3 MB, free: 23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.4125, allocations: 7.156 kB / 373.3 MB, free: 23 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001723/0.4142, allocations: 0.764 MB / 374 MB, free: 22.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.4143, allocations: 8.75 kB / 374 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.4143, allocations: 9.562 kB / 374.1 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.4147, allocations: 80.36 kB / 374.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.4155, allocations: 213.5 kB / 374.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.4173, allocations: 1.797 MB / 376.1 MB, free: 21.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.418, allocations: 90.22 kB / 376.2 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.4181, allocations: 33.03 kB / 376.3 MB, free: 21.28 MB / 302.1 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.0003748/0.4185, allocations: 222.8 kB / 376.5 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4186, allocations: 58.09 kB / 376.5 MB, free: 21.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.4187, allocations: 61.41 kB / 376.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4187, allocations: 5.719 kB / 376.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.4187, allocations: 1.875 kB / 376.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4188, allocations: 6.734 kB / 376.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.4198, allocations: 0.6485 MB / 377.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4198, allocations: 0 / 377.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.4202, allocations: 105.4 kB / 377.4 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/0.4205, allocations: 72.28 kB / 377.4 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.4205, allocations: 12.22 kB / 377.4 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.4223, allocations: 1.789 MB / 379.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4223, allocations: 0 / 379.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.4235, allocations: 0.6641 MB / 379.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.4236, allocations: 143.1 kB / 380 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.4237, allocations: 11.55 kB / 380 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.4241, allocations: 54.06 kB / 380.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.4243, allocations: 25.02 kB / 380.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.4243, allocations: 12.88 kB / 380.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000481/0.4248, allocations: 348.3 kB / 380.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4248, allocations: 0 / 380.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001066/0.4259, allocations: 245.9 kB / 380.7 MB, free: 18.28 MB / 302.1 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.0001802/0.426, allocations: 120.1 kB / 380.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.4273, allocations: 0.5958 MB / 381.4 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.4273, allocations: 1.688 kB / 381.4 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.428, allocations: 320 kB / 381.7 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.4288, allocations: 116.5 kB / 381.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.4317, allocations: 1.859 MB / 383.7 MB, free: 16.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.4322, allocations: 0.9302 MB / 384.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.4326, allocations: 69.72 kB / 384.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.4327, allocations: 38.47 kB / 384.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4327, allocations: 1.156 kB / 384.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Templates: time 0.01701/0.4497, allocations: 6.757 MB / 391.5 MB, free: 13.87 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches