Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002227/0.002227, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 97.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.038e-05, allocations: 4 kB / 314.8 MB, free: 9.176 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3674, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.5143, allocations: 89.62 MB / 451.9 MB, free: 12.7 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.5147, allocations: 75.03 kB / 452 MB, free: 12.63 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.187/0.7017, allocations: 51.57 MB / 0.4918 GB, free: 9.074 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7018, allocations: 0 / 0.4918 GB, free: 9.074 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.7019, allocations: 24 kB / 0.4918 GB, free: 9.051 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004345/0.7063, allocations: 1.538 MB / 0.4933 GB, free: 7.469 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.7063, allocations: 8.031 kB / 0.4933 GB, free: 7.461 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005854/0.7069, allocations: 197.7 kB / 0.4935 GB, free: 7.266 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.7102, allocations: 1.143 MB / 0.4946 GB, free: 6.074 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.7103, allocations: 31.86 kB / 0.4947 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.7104, allocations: 24 kB / 0.4947 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/0.7115, allocations: 390.6 kB / 0.4951 GB, free: 5.641 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7127, allocations: 419.9 kB / 0.4955 GB, free: 5.219 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.7127, allocations: 0 / 0.4955 GB, free: 5.219 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.7128, allocations: 0 / 0.4955 GB, free: 5.219 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.7128, allocations: 23.94 kB / 0.4955 GB, free: 5.195 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005464/0.7183, allocations: 2.032 MB / 0.4975 GB, free: 3.094 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.7196, allocations: 0.6293 MB / 0.4981 GB, free: 2.418 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009478/0.7206, allocations: 478.7 kB / 0.4985 GB, free: 1.945 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2935/1.014, allocations: 7.721 MB / 0.5061 GB, free: 94.67 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006483/1.015, allocations: 247.3 kB / 0.5063 GB, free: 94.62 MB / 395.1 MB Notification: Performance of pre-optimization done (n=55): time 4.709e-06/1.015, allocations: 1.625 kB / 0.5063 GB, free: 94.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=59): time 0.008077/1.023, allocations: 2.247 MB / 0.5085 GB, free: 94.06 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.023, allocations: 60.14 kB / 0.5086 GB, free: 94 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/1.025, allocations: 0.9843 MB / 0.5095 GB, free: 93.85 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.025, allocations: 25.7 kB / 0.5095 GB, free: 93.82 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/1.026, allocations: 0.6336 MB / 0.5102 GB, free: 93.6 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/1.026, allocations: 198.3 kB / 0.5104 GB, free: 93.5 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/1.026, allocations: 0 / 0.5104 GB, free: 93.5 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/1.027, allocations: 340 kB / 0.5107 GB, free: 93.19 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/1.027, allocations: 154.7 kB / 0.5108 GB, free: 93.19 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/1.027, allocations: 315.4 kB / 0.5111 GB, free: 93 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/1.029, allocations: 373.7 kB / 0.5115 GB, free: 93 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.029, allocations: 1.344 kB / 0.5115 GB, free: 93 MB / 395.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002844/1.032, allocations: 0.7977 MB / 0.5123 GB, free: 92.92 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/1.032, allocations: 8.859 kB / 0.5123 GB, free: 92.92 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/1.032, allocations: 62.44 kB / 0.5123 GB, free: 92.92 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/1.033, allocations: 150.9 kB / 0.5125 GB, free: 92.91 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/1.034, allocations: 118.6 kB / 0.5126 GB, free: 92.91 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/1.037, allocations: 2.227 MB / 0.5148 GB, free: 91.58 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.039, allocations: 25.33 kB / 0.5148 GB, free: 91.58 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.039, allocations: 31.72 kB / 0.5148 GB, free: 91.58 MB / 395.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vcs:VARIABLE(unit = "V" ) type: Real T1.vcs:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002803/1.039, allocations: 123.6 kB / 0.5149 GB, free: 91.47 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/1.04, allocations: 177.5 kB / 0.5151 GB, free: 91.39 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/1.043, allocations: 0.9747 MB / 0.5161 GB, free: 91.29 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.043, allocations: 4.656 kB / 0.5161 GB, free: 91.29 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.043, allocations: 7.422 kB / 0.5161 GB, free: 91.29 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/1.043, allocations: 3.75 kB / 0.5161 GB, free: 91.29 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/1.045, allocations: 0.7816 MB / 0.5168 GB, free: 91.12 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001561/1.045, allocations: 53.94 kB / 0.5169 GB, free: 91.12 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/1.046, allocations: 68.91 kB / 0.517 GB, free: 91.12 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006324/1.047, allocations: 150.2 kB / 0.5171 GB, free: 91.11 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/1.047, allocations: 9.625 kB / 0.5171 GB, free: 91.11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/1.05, allocations: 2.226 MB / 0.5193 GB, free: 89.78 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.05, allocations: 0 / 0.5193 GB, free: 89.78 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/1.054, allocations: 1.103 MB / 0.5204 GB, free: 89.58 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007705/1.055, allocations: 249.5 kB / 0.5206 GB, free: 89.39 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.055, allocations: 5.844 kB / 0.5206 GB, free: 89.39 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007953/1.056, allocations: 18.06 kB / 0.5206 GB, free: 89.39 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.056, allocations: 47.12 kB / 0.5207 GB, free: 89.39 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/1.056, allocations: 30.86 kB / 0.5207 GB, free: 89.39 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001575/1.058, allocations: 0.7471 MB / 0.5214 GB, free: 89.28 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.072e-06/1.058, allocations: 0 / 0.5214 GB, free: 89.28 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002004/1.06, allocations: 400.5 kB / 0.5218 GB, free: 89.28 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/1.061, allocations: 0.5881 MB / 0.5224 GB, free: 89.19 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002027/1.063, allocations: 0.7581 MB / 0.5231 GB, free: 88.99 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.063, allocations: 1.688 kB / 0.5231 GB, free: 88.99 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/1.065, allocations: 0.5459 MB / 0.5237 GB, free: 88.79 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.066, allocations: 154.1 kB / 0.5238 GB, free: 88.78 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/1.071, allocations: 1.82 MB / 0.5256 GB, free: 88.18 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/1.071, allocations: 1.203 MB / 0.5268 GB, free: 87.45 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/1.072, allocations: 76.03 kB / 0.5268 GB, free: 87.43 MB / 395.1 MB Notification: Performance of SimCode: time 1.152e-06/1.072, allocations: 0.5625 kB / 0.5268 GB, free: 87.43 MB / 395.1 MB Notification: Performance of Templates: time 0.04181/1.114, allocations: 22.48 MB / 0.5488 GB, free: 83.98 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches