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.001282/0.001282, allocations: 176.5 kB / 8.345 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008271/0.0008271, allocations: 89.91 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.844e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 50.41 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.344/0.4571, allocations: 79.41 MB / 466.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.4574, allocations: 63.97 kB / 466.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04867/0.506, allocations: 13.23 MB / 480.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5061, allocations: 0 / 480.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.697e-05/0.5062, allocations: 24 kB / 480.2 MB, free: 2.074 MB / 346.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.002616/0.5088, allocations: 1 MB / 481.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5089, allocations: 12.03 kB / 481.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.5092, allocations: 98.88 kB / 481.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.51, allocations: 443 kB / 481.7 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.5101, allocations: 35.95 kB / 481.8 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5102, allocations: 52 kB / 481.8 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001281/0.5115, allocations: 496 kB / 482.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.5133, allocations: 0.6996 MB / 483 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5134, allocations: 3.938 kB / 483 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.5135, allocations: 0 / 483 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.5135, allocations: 24 kB / 483 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006296/0.5198, allocations: 2.84 MB / 485.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.5204, allocations: 262.6 kB / 486.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.5209, allocations: 248.8 kB / 486.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.521, allocations: 7.938 kB / 486.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.521, allocations: 46.56 kB / 486.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.178e-06/0.5211, allocations: 0 / 486.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001077/0.5221, allocations: 357.9 kB / 486.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.5222, allocations: 55.41 kB / 486.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.5229, allocations: 401 kB / 487.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.523, allocations: 25.7 kB / 487.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.5235, allocations: 493.4 kB / 487.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.5236, allocations: 153.8 kB / 487.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.5237, allocations: 0 / 487.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.5239, allocations: 362.8 kB / 488.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.5243, allocations: 141.6 kB / 488.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.5249, allocations: 406 kB / 488.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.5255, allocations: 217.9 kB / 489 MB, free: 8.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.5255, allocations: 4.75 kB / 489 MB, free: 8.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001614/0.5271, allocations: 0.6361 MB / 489.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.5272, allocations: 15.94 kB / 489.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5272, allocations: 12 kB / 489.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/0.5276, allocations: 88.98 kB / 489.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.5287, allocations: 195.7 kB / 489.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.5313, allocations: 1.751 MB / 491.7 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.532, allocations: 75.12 kB / 491.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.5321, allocations: 39.98 kB / 491.8 MB, free: 5.93 MB / 362.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 () * 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.0002179/0.5324, allocations: 129 kB / 491.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.5325, allocations: 63.27 kB / 492 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.5326, allocations: 53.3 kB / 492 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5327, allocations: 4 kB / 492 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.5327, allocations: 4 kB / 492 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.5327, allocations: 3.984 kB / 492 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.5337, allocations: 0.5249 MB / 492.5 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5337, allocations: 0 / 492.5 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006541/0.5344, allocations: 103.9 kB / 492.7 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003417/0.5347, allocations: 76.7 kB / 492.7 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.5348, allocations: 3.984 kB / 492.7 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.5372, allocations: 1.728 MB / 494.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5372, allocations: 3.938 kB / 494.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5386, allocations: 0.5944 MB / 495.1 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.5388, allocations: 140.3 kB / 495.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-05/0.5389, allocations: 4.125 kB / 495.2 MB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.5396, allocations: 47.97 kB / 495.2 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5397, allocations: 31.73 kB / 495.3 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.5398, allocations: 12 kB / 495.3 MB, free: 2.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005129/0.5403, allocations: 295 kB / 495.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5403, allocations: 0 / 495.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001366/0.5417, allocations: 227.1 kB / 495.8 MB, free: 1.711 MB / 362.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 () * 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.0002398/0.5419, allocations: 111.2 kB / 495.9 MB, free: 1.594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.5432, allocations: 0.5164 MB / 496.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5433, allocations: 0.9375 kB / 496.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.5439, allocations: 297.5 kB / 496.7 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.5446, allocations: 83.3 kB / 496.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.5474, allocations: 1.055 MB / 497.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.5481, allocations: 0.9491 MB / 498.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004922/0.5486, allocations: 64.94 kB / 498.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.5488, allocations: 43.38 kB / 498.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5488, allocations: 0 / 498.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of Templates: time 0.0167/0.5655, allocations: 5.644 MB / 0.4927 GB, free: 8.91 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