Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001464, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 97.25 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.809e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4417, allocations: 92.63 MB / 487.8 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.442, allocations: 73.77 kB / 487.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1131/0.5551, allocations: 55.29 MB / 0.5304 GB, free: 14.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5552, allocations: 4 kB / 0.5304 GB, free: 14.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.301e-05/0.5552, allocations: 20 kB / 0.5304 GB, free: 14.4 MB / 410.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.002663/0.5579, allocations: 1.547 MB / 0.532 GB, free: 12.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.558, allocations: 8.031 kB / 0.532 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.5582, allocations: 193.8 kB / 0.5322 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.5598, allocations: 1.147 MB / 0.5333 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.5598, allocations: 17.72 kB / 0.5333 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.5599, allocations: 28 kB / 0.5333 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006403/0.5605, allocations: 394.6 kB / 0.5337 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.5612, allocations: 419.9 kB / 0.5341 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5612, allocations: 0 / 0.5341 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.5613, allocations: 7.938 kB / 0.5341 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5613, allocations: 16 kB / 0.5341 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.5643, allocations: 2.033 MB / 0.5361 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.565, allocations: 0.6369 MB / 0.5367 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.5656, allocations: 474.1 kB / 0.5372 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009567/0.5751, allocations: 7.762 MB / 0.5448 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.5756, allocations: 258.5 kB / 0.545 GB, free: 14.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.785e-06/0.5756, allocations: 4 kB / 0.545 GB, free: 14.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.004323/0.58, allocations: 2.237 MB / 0.5472 GB, free: 11.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.58, allocations: 63.78 kB / 0.5472 GB, free: 11.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.5813, allocations: 0.9864 MB / 0.5482 GB, free: 10.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.5814, allocations: 25.7 kB / 0.5482 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.582, allocations: 0.715 MB / 0.5489 GB, free: 9.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.5821, allocations: 201.1 kB / 0.5491 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.5822, allocations: 3.938 kB / 0.5491 GB, free: 9.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5823, allocations: 330 kB / 0.5494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.5826, allocations: 153.6 kB / 0.5496 GB, free: 9.277 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.5829, allocations: 314.1 kB / 0.5499 GB, free: 8.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.5837, allocations: 373.7 kB / 0.5502 GB, free: 8.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5837, allocations: 4 kB / 0.5503 GB, free: 8.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001654/0.5853, allocations: 0.9499 MB / 0.5512 GB, free: 7.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5854, allocations: 8.062 kB / 0.5512 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.859e-05/0.5855, allocations: 59.98 kB / 0.5512 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.5858, allocations: 141.4 kB / 0.5514 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.5863, allocations: 127.8 kB / 0.5515 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.5888, allocations: 2.224 MB / 0.5537 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.5894, allocations: 19.98 kB / 0.5537 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.5895, allocations: 36.06 kB / 0.5537 GB, free: 4.852 MB / 426.7 MB 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 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5896, allocations: 120.8 kB / 0.5538 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.5898, allocations: 181.8 kB / 0.554 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.5921, allocations: 0.9726 MB / 0.555 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5921, allocations: 4 kB / 0.555 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.5921, allocations: 4 kB / 0.555 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5921, allocations: 3.984 kB / 0.555 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.5933, allocations: 0.7925 MB / 0.5557 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.531e-05/0.5934, allocations: 51.98 kB / 0.5558 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.5937, allocations: 71.89 kB / 0.5559 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.5941, allocations: 142.5 kB / 0.556 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.5942, allocations: 11.98 kB / 0.556 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.5967, allocations: 2.233 MB / 0.5582 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5967, allocations: 0 / 0.5582 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.5988, allocations: 1.096 MB / 0.5593 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.5992, allocations: 254.9 kB / 0.5595 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.5993, allocations: 0 / 0.5595 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.5997, allocations: 19.98 kB / 0.5595 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5998, allocations: 48.31 kB / 0.5596 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.5999, allocations: 27.98 kB / 0.5596 GB, free: 14.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001034/0.6009, allocations: 0.7448 MB / 0.5603 GB, free: 13.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6009, allocations: 0 / 0.5603 GB, free: 13.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001165/0.6021, allocations: 403.5 kB / 0.5607 GB, free: 13.49 MB / 442.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.0008815/0.603, allocations: 0.5946 MB / 0.5613 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.6043, allocations: 0.7557 MB / 0.562 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6043, allocations: 0 / 0.562 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.6051, allocations: 0.5506 MB / 0.5626 GB, free: 11.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.6059, allocations: 179.7 kB / 0.5627 GB, free: 11.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.6088, allocations: 1.775 MB / 0.5645 GB, free: 9.566 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.6096, allocations: 1.2 MB / 0.5656 GB, free: 8.336 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.6102, allocations: 153.5 kB / 0.5658 GB, free: 8.184 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.6103, allocations: 71.44 kB / 0.5659 GB, free: 8.113 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6103, allocations: 0 / 0.5659 GB, free: 8.113 MB / 442.7 MB Notification: Performance of Templates: time 0.2385/0.8488, allocations: 11.26 MB / 0.5769 GB, free: 96.5 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches