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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 180.5 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 103 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 8 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2654, allocations: 50.41 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3694, allocations: 80.12 MB / 481.6 MB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.3697, allocations: 83.89 kB / 481.7 MB, free: 292 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0325/0.4022, allocations: 13.33 MB / 495 MB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4023, allocations: 0 / 495 MB, free: 2.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.4023, allocations: 28 kB / 495.1 MB, free: 2.879 MB / 362.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.001965/0.4043, allocations: 1.064 MB / 496.1 MB, free: 1.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.4044, allocations: 8.031 kB / 496.1 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.4046, allocations: 102.8 kB / 496.2 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.4053, allocations: 438.1 kB / 496.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.4054, allocations: 73.95 kB / 496.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4055, allocations: 96 kB / 496.8 MB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.407, allocations: 0.8557 MB / 497.7 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.407, allocations: 0 / 497.7 MB, free: 140 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.4071, allocations: 44 kB / 497.7 MB, free: 96 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.4071, allocations: 24 kB / 497.7 MB, free: 72 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009674/0.4081, allocations: 0.57 MB / 498.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.4122, allocations: 2.992 MB / 0.4896 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.4127, allocations: 306.8 kB / 0.4898 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.4127, allocations: 7.984 kB / 0.4899 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4128, allocations: 34.56 kB / 0.4899 GB, free: 12.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.4128, allocations: 8 kB / 0.4899 GB, free: 12.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001389/0.4142, allocations: 0.6442 MB / 0.4905 GB, free: 11.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.4142, allocations: 63.34 kB / 0.4906 GB, free: 11.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.4147, allocations: 461.7 kB / 0.491 GB, free: 10.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.4148, allocations: 37.7 kB / 0.4911 GB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.4151, allocations: 489.5 kB / 0.4915 GB, free: 10.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4152, allocations: 157.8 kB / 0.4917 GB, free: 10.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.4152, allocations: 16 kB / 0.4917 GB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4154, allocations: 366.8 kB / 0.492 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.4156, allocations: 161.9 kB / 0.4922 GB, free: 9.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.4161, allocations: 461.6 kB / 0.4926 GB, free: 9.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.4165, allocations: 238 kB / 0.4929 GB, free: 8.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.4165, allocations: 7.953 kB / 0.4929 GB, free: 8.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001126/0.4176, allocations: 0.7531 MB / 0.4936 GB, free: 8.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4177, allocations: 8 kB / 0.4936 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4177, allocations: 12 kB / 0.4936 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.418, allocations: 84.97 kB / 0.4937 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.4186, allocations: 203.7 kB / 0.4939 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.4205, allocations: 1.831 MB / 0.4957 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.421, allocations: 90.97 kB / 0.4958 GB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.421, allocations: 36.16 kB / 0.4958 GB, free: 5.621 MB / 378.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 (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 prepare postOptimizeDAE: time 0.0003302/0.4214, allocations: 213.5 kB / 0.496 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.4215, allocations: 63.28 kB / 0.4961 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.4216, allocations: 65.5 kB / 0.4961 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4216, allocations: 4 kB / 0.4961 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4216, allocations: 0 / 0.4961 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4216, allocations: 7.984 kB / 0.4962 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007113/0.4223, allocations: 0.6413 MB / 0.4968 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4224, allocations: 4 kB / 0.4968 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.4228, allocations: 103.9 kB / 0.4969 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.423, allocations: 72.73 kB / 0.4969 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.423, allocations: 12 kB / 0.497 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.4246, allocations: 1.8 MB / 0.4987 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4246, allocations: 4 kB / 0.4987 GB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.4255, allocations: 0.6695 MB / 0.4994 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4256, allocations: 132.4 kB / 0.4995 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.4257, allocations: 12 kB / 0.4995 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.426, allocations: 47.97 kB / 0.4996 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.4261, allocations: 31.95 kB / 0.4996 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.4261, allocations: 12 kB / 0.4996 GB, free: 1.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003236/0.4265, allocations: 342.8 kB / 0.4999 GB, free: 1.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4265, allocations: 0 / 0.4999 GB, free: 1.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007041/0.4272, allocations: 251.2 kB / 0.5002 GB, free: 0.9258 MB / 378.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 (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 0.0001741/0.4274, allocations: 119.5 kB / 0.5003 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009168/0.4283, allocations: 0.5992 MB / 0.5009 GB, free: 192 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4283, allocations: 1.812 kB / 0.5009 GB, free: 192 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2001/0.6285, allocations: 307 kB / 0.5012 GB, free: 95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.6294, allocations: 105.5 kB / 0.5013 GB, free: 95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.633, allocations: 1.752 MB / 0.503 GB, free: 94.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.6337, allocations: 0.9493 MB / 0.5039 GB, free: 93.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000418/0.6341, allocations: 68.94 kB / 0.504 GB, free: 93.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/0.6342, allocations: 39.72 kB / 0.504 GB, free: 93.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.003e-06/0.6342, allocations: 0 / 0.504 GB, free: 93.38 MB / 378.7 MB Notification: Performance of Templates: time 0.01259/0.6468, allocations: 6.535 MB / 0.5104 GB, free: 93.03 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches