Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009693/0.0009695, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009288/0.0009286, allocations: 90.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.004e-05/1.996e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08793, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.4354, allocations: 89.86 MB / 452.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4357, allocations: 67.72 kB / 453 MB, free: 6.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.5381, allocations: 51.58 MB / 0.4927 GB, free: 8.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5381, allocations: 0 / 0.4927 GB, free: 8.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.344e-05/0.5382, allocations: 24 kB / 0.4928 GB, free: 8.137 MB / 378.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.00267/0.5409, allocations: 1.537 MB / 0.4943 GB, free: 6.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5409, allocations: 8.031 kB / 0.4943 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.5412, allocations: 197.7 kB / 0.4945 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.5427, allocations: 1.151 MB / 0.4956 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.5428, allocations: 19.94 kB / 0.4956 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.5429, allocations: 24 kB / 0.4956 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006031/0.5435, allocations: 394.5 kB / 0.496 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.5441, allocations: 419.9 kB / 0.4964 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5441, allocations: 0 / 0.4964 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.5442, allocations: 0 / 0.4964 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.5442, allocations: 23.94 kB / 0.4964 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.547, allocations: 2.033 MB / 0.4984 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.5476, allocations: 0.6215 MB / 0.499 GB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.5482, allocations: 482.4 kB / 0.4995 GB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009395/0.5576, allocations: 7.729 MB / 0.507 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.558, allocations: 250.6 kB / 0.5073 GB, free: 7.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=55): time 2.776e-06/0.5581, allocations: 0 / 0.5073 GB, free: 7.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=59): time 0.004382/0.5624, allocations: 2.241 MB / 0.5095 GB, free: 5.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.5625, allocations: 63.78 kB / 0.5095 GB, free: 5.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.5638, allocations: 0.9941 MB / 0.5105 GB, free: 4.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.5638, allocations: 25.7 kB / 0.5105 GB, free: 4.434 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005992/0.5644, allocations: 0.715 MB / 0.5112 GB, free: 3.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.5646, allocations: 189.1 kB / 0.5114 GB, free: 3.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.5646, allocations: 4 kB / 0.5114 GB, free: 3.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5647, allocations: 330 kB / 0.5117 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.565, allocations: 161.5 kB / 0.5119 GB, free: 3.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.5653, allocations: 307.1 kB / 0.5122 GB, free: 2.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.5661, allocations: 374.6 kB / 0.5125 GB, free: 2.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5661, allocations: 0 / 0.5125 GB, free: 2.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001634/0.5678, allocations: 0.9539 MB / 0.5134 GB, free: 1.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5678, allocations: 8 kB / 0.5135 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.41e-05/0.5679, allocations: 60.02 kB / 0.5135 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.5683, allocations: 140.1 kB / 0.5136 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.5688, allocations: 123.8 kB / 0.5138 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/0.5714, allocations: 2.228 MB / 0.5159 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.572, allocations: 24.05 kB / 0.516 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.572, allocations: 32 kB / 0.516 GB, free: 14.61 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 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.5722, allocations: 126 kB / 0.5161 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.5724, allocations: 181.9 kB / 0.5163 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.5746, allocations: 0.9647 MB / 0.5172 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.5746, allocations: 8 kB / 0.5172 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5746, allocations: 0 / 0.5172 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5746, allocations: 4 kB / 0.5172 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.5757, allocations: 0.8004 MB / 0.518 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.469e-05/0.5758, allocations: 51.98 kB / 0.5181 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.5761, allocations: 67.95 kB / 0.5181 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003497/0.5764, allocations: 150.7 kB / 0.5183 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.5765, allocations: 12.12 kB / 0.5183 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002462/0.579, allocations: 2.212 MB / 0.5205 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.579, allocations: 11.86 kB / 0.5205 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.5808, allocations: 1.108 MB / 0.5215 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.5812, allocations: 247 kB / 0.5218 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5813, allocations: 4 kB / 0.5218 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.5817, allocations: 23.97 kB / 0.5218 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5818, allocations: 44.38 kB / 0.5218 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.5819, allocations: 20 kB / 0.5219 GB, free: 8.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009232/0.5828, allocations: 0.7448 MB / 0.5226 GB, free: 7.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5828, allocations: 0 / 0.5226 GB, free: 7.645 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001043/0.5838, allocations: 403.5 kB / 0.523 GB, free: 7.25 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.000872/0.5847, allocations: 0.5792 MB / 0.5235 GB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.586, allocations: 0.7632 MB / 0.5243 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5861, allocations: 3.938 kB / 0.5243 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008187/0.5869, allocations: 0.5496 MB / 0.5248 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.5874, allocations: 150.2 kB / 0.525 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.5905, allocations: 1.787 MB / 0.5267 GB, free: 3.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.5912, allocations: 1.2 MB / 0.5279 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005207/0.5918, allocations: 149.5 kB / 0.528 GB, free: 1.953 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.5919, allocations: 71.44 kB / 0.5281 GB, free: 1.883 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5919, allocations: 4 kB / 0.5281 GB, free: 1.879 MB / 410.7 MB Notification: Performance of Templates: time 0.232/0.8239, allocations: 11.19 MB / 0.539 GB, free: 109.1 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches