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.002263/0.002262, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.995/1.995, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001108/0.001108, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.213e-05, allocations: 3.984 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09374, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4182/0.512, allocations: 90.27 MB / 459.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5123, allocations: 76.14 kB / 459.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1833/0.6956, allocations: 54.44 MB / 0.5018 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6957, allocations: 0 / 0.5018 GB, free: 14.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.656e-05/0.6958, allocations: 20 kB / 0.5018 GB, free: 14.29 MB / 394.7 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.003758/0.6995, allocations: 1.544 MB / 0.5034 GB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.6996, allocations: 8.031 kB / 0.5034 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004252/0.7, allocations: 197.7 kB / 0.5035 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/0.7036, allocations: 1.151 MB / 0.5047 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.7037, allocations: 29 kB / 0.5047 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.7039, allocations: 47.94 kB / 0.5047 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7053, allocations: 484.3 kB / 0.5052 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.7053, allocations: 4 kB / 0.5052 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.7054, allocations: 16 kB / 0.5052 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.7055, allocations: 19.98 kB / 0.5052 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.7066, allocations: 416.2 kB / 0.5056 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.7118, allocations: 2.128 MB / 0.5077 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.7131, allocations: 0.6478 MB / 0.5084 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.7142, allocations: 0.4901 MB / 0.5088 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.7291, allocations: 7.744 MB / 0.5164 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.7298, allocations: 262.6 kB / 0.5166 GB, free: 13.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=55): time 5.149e-06/0.7299, allocations: 0 / 0.5166 GB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=59): time 0.004468/0.7344, allocations: 1.675 MB / 0.5183 GB, free: 11.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.7345, allocations: 63.84 kB / 0.5183 GB, free: 11.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.7367, allocations: 1.076 MB / 0.5194 GB, free: 10.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.7368, allocations: 33.7 kB / 0.5194 GB, free: 10.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/0.7376, allocations: 0.6276 MB / 0.52 GB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.7379, allocations: 197.1 kB / 0.5202 GB, free: 9.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.738, allocations: 12 kB / 0.5202 GB, free: 9.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7381, allocations: 338.8 kB / 0.5206 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.7386, allocations: 165.6 kB / 0.5207 GB, free: 9.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.7393, allocations: 339.7 kB / 0.521 GB, free: 9.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.7399, allocations: 215.9 kB / 0.5212 GB, free: 8.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.7399, allocations: 8 kB / 0.5213 GB, free: 8.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001975/0.7419, allocations: 0.6934 MB / 0.5219 GB, free: 8.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.7419, allocations: 8.625 kB / 0.5219 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.7421, allocations: 59.98 kB / 0.522 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/0.7428, allocations: 159.8 kB / 0.5221 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/0.7436, allocations: 115.9 kB / 0.5223 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.7478, allocations: 2.288 MB / 0.5245 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.7489, allocations: 32.03 kB / 0.5245 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.749, allocations: 32 kB / 0.5246 GB, free: 5.273 MB / 410.7 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 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.7493, allocations: 148.7 kB / 0.5247 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.7496, allocations: 185.8 kB / 0.5249 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002916/0.7525, allocations: 0.8436 MB / 0.5257 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.7526, allocations: 8 kB / 0.5257 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.7526, allocations: 7.953 kB / 0.5257 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.7526, allocations: 3.984 kB / 0.5257 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.7545, allocations: 0.8592 MB / 0.5266 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001312/0.7546, allocations: 51.98 kB / 0.5266 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.7552, allocations: 67.89 kB / 0.5267 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006282/0.7559, allocations: 147.3 kB / 0.5268 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.479e-05/0.756, allocations: 23.95 kB / 0.5268 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/0.76, allocations: 2.276 MB / 0.5291 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.76, allocations: 0 / 0.5291 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2739/1.034, allocations: 0.9651 MB / 0.53 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/1.035, allocations: 253.2 kB / 0.5302 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/1.035, allocations: 10.25 kB / 0.5302 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007234/1.036, allocations: 27.86 kB / 0.5303 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/1.036, allocations: 49.27 kB / 0.5303 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-05/1.036, allocations: 22.48 kB / 0.5303 GB, free: 106.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001769/1.038, allocations: 0.8343 MB / 0.5312 GB, free: 106.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.038, allocations: 1.062 kB / 0.5312 GB, free: 106.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001817/1.04, allocations: 430 kB / 0.5316 GB, free: 106.7 MB / 410.7 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.001297/1.041, allocations: 0.53 MB / 0.5321 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002094/1.043, allocations: 0.7856 MB / 0.5329 GB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.043, allocations: 0.5469 kB / 0.5329 GB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.045, allocations: 0.5644 MB / 0.5334 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/1.046, allocations: 153.6 kB / 0.5336 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/1.051, allocations: 1.85 MB / 0.5354 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/1.052, allocations: 1.201 MB / 0.5365 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/1.052, allocations: 73.12 kB / 0.5366 GB, free: 104.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/1.052, allocations: 0 / 0.5366 GB, free: 104.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04722/1.099, allocations: 22.49 MB / 0.5586 GB, free: 103.9 MB / 410.7 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