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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 117.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002525/0.002525, allocations: 204.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.459/2.459, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.423, allocations: 50.55 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01196/0.4351, allocations: 7.503 MB / 417.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.4569, allocations: 10.74 MB / 428.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.4588, allocations: 79.31 kB / 428.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.4626, allocations: 0.71 MB / 429 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.4695, allocations: 1.185 MB / 430.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.473, allocations: 0.6778 MB / 430.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007284/0.4804, allocations: 2.56 MB / 433.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008416/0.4812, allocations: 283.9 kB / 433.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.4824, allocations: 0.4937 MB / 434.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.4838, allocations: 0.5278 MB / 434.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.4841, allocations: 56 kB / 434.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/0.4883, allocations: 0.7766 MB / 435.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.4887, allocations: 190.8 kB / 435.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.49, allocations: 0.6715 MB / 436.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005067/0.4951, allocations: 1.954 MB / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4952, allocations: 0 / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4952, allocations: 0 / 438.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.543e-05/0.4953, allocations: 0 / 438.3 MB, free: 5.066 MB / 350.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.005252/0.5006, allocations: 1.981 MB / 440.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.5007, allocations: 12.03 kB / 440.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.5011, allocations: 198.6 kB / 440.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/0.5046, allocations: 1.341 MB / 441.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.5047, allocations: 36.94 kB / 441.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.5049, allocations: 44 kB / 441.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5063, allocations: 0.5119 MB / 442.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5063, allocations: 7.938 kB / 442.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.5064, allocations: 16 kB / 442.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.5064, allocations: 15.98 kB / 442.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.508, allocations: 476.1 kB / 442.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/0.5137, allocations: 2.092 MB / 445 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.5155, allocations: 0.7079 MB / 445.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.5167, allocations: 0.5096 MB / 446.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.5273, allocations: 4.916 MB / 451.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009109/0.5282, allocations: 310 kB / 451.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 4.278e-06/0.5283, allocations: 0 / 451.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.008923/0.5372, allocations: 2.406 MB / 453.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.5373, allocations: 55.84 kB / 453.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.5397, allocations: 1.288 MB / 455.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/0.5398, allocations: 37.69 kB / 455.3 MB, free: 3.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.5406, allocations: 0.6958 MB / 455.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/0.5409, allocations: 228.7 kB / 456.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.5412, allocations: 118.2 kB / 456.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5414, allocations: 330 kB / 456.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007284/0.5421, allocations: 221.5 kB / 456.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008191/0.543, allocations: 368.5 kB / 457.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.5447, allocations: 0.6073 MB / 457.8 MB, free: 448 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5447, allocations: 0 / 457.8 MB, free: 448 kB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003063/0.5478, allocations: 0.9699 MB / 458.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5479, allocations: 8 kB / 458.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/0.548, allocations: 64.03 kB / 458.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/0.5489, allocations: 187.7 kB / 459 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.5497, allocations: 103.8 kB / 459.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.5553, allocations: 2.763 MB / 461.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.5565, allocations: 24.03 kB / 461.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.5566, allocations: 36 kB / 461.9 MB, free: 12.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007173/0.5574, allocations: 285.5 kB / 462.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.5577, allocations: 177.9 kB / 462.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/0.5611, allocations: 0.9796 MB / 463.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5612, allocations: 4 kB / 463.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5612, allocations: 4 kB / 463.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.5612, allocations: 3.984 kB / 463.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.5631, allocations: 0.9137 MB / 464.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001352/0.5632, allocations: 56 kB / 464.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.5639, allocations: 71.88 kB / 464.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007998/0.5648, allocations: 168.7 kB / 464.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/0.5649, allocations: 23.94 kB / 464.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00562/0.5705, allocations: 2.741 MB / 467.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.5706, allocations: 4 kB / 467.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.5743, allocations: 1.185 MB / 468.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006853/0.575, allocations: 250.9 kB / 468.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/0.5753, allocations: 15.92 kB / 468.8 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.576, allocations: 23.98 kB / 468.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.5763, allocations: 56.31 kB / 468.9 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-05/0.5764, allocations: 23.98 kB / 468.9 MB, free: 4.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.5784, allocations: 0.8535 MB / 469.8 MB, free: 4.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5784, allocations: 0 / 469.8 MB, free: 4.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001723/0.5801, allocations: 379.8 kB / 470.1 MB, free: 3.703 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.5813, allocations: 456.2 kB / 470.6 MB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.5843, allocations: 0.9329 MB / 471.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5843, allocations: 0 / 471.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.5861, allocations: 0.647 MB / 472.2 MB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.5878, allocations: 202.1 kB / 472.3 MB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.5939, allocations: 2.457 MB / 474.8 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.595, allocations: 1.178 MB / 476 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.5953, allocations: 87.44 kB / 476.1 MB, free: 13.62 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5954, allocations: 0 / 476.1 MB, free: 13.62 MB / 398.1 MB Notification: Performance of Templates: time 0.05533/0.6507, allocations: 24.57 MB / 0.4889 GB, free: 5.055 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches