Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009586/0.0009589, allocations: 199.4 kB / 18.07 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007573/0.0007573, allocations: 102.6 kB / 297.4 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000202/0.0002022, allocations: 12 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1769, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09548/0.2724, allocations: 93.33 MB / 0.4902 GB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.2727, allocations: 75.95 kB / 0.4903 GB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.236/0.5086, allocations: 57.59 MB / 0.5465 GB, free: 64.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5087, allocations: 0 / 0.5465 GB, free: 64.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.403e-05/0.5087, allocations: 24 kB / 0.5466 GB, free: 64.83 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.002216/0.5109, allocations: 1.832 MB / 0.5483 GB, free: 62.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.511, allocations: 15.97 kB / 0.5484 GB, free: 62.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.5111, allocations: 198.6 kB / 0.5486 GB, free: 62.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5124, allocations: 1.224 MB / 0.5498 GB, free: 61.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5124, allocations: 37.38 kB / 0.5498 GB, free: 61.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.5125, allocations: 40.38 kB / 0.5498 GB, free: 61.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007432/0.5132, allocations: 0.5205 MB / 0.5503 GB, free: 60.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5132, allocations: 0 / 0.5503 GB, free: 60.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.5133, allocations: 23.92 kB / 0.5504 GB, free: 60.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5133, allocations: 16 kB / 0.5504 GB, free: 60.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.5141, allocations: 496.1 kB / 0.5508 GB, free: 60.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.5165, allocations: 2.122 MB / 0.5529 GB, free: 58.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.5172, allocations: 0.7282 MB / 0.5536 GB, free: 57.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005782/0.5178, allocations: 0.5251 MB / 0.5541 GB, free: 56.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006543/0.5244, allocations: 7.686 MB / 0.5616 GB, free: 47.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.5249, allocations: 310.5 kB / 0.5619 GB, free: 47.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.534e-06/0.5249, allocations: 0 / 0.5619 GB, free: 47.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.002894/0.5278, allocations: 1.995 MB / 0.5639 GB, free: 45.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.5278, allocations: 55.84 kB / 0.5639 GB, free: 45.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.529, allocations: 1.284 MB / 0.5652 GB, free: 44.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.529, allocations: 33.7 kB / 0.5652 GB, free: 44.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.5294, allocations: 0.7228 MB / 0.5659 GB, free: 43.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.582e-05/0.5295, allocations: 197.1 kB / 0.5661 GB, free: 43.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.5295, allocations: 8 kB / 0.5661 GB, free: 43.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.5296, allocations: 341.9 kB / 0.5665 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.5299, allocations: 201.5 kB / 0.5666 GB, free: 42.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.5303, allocations: 375.8 kB / 0.567 GB, free: 42.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007738/0.5311, allocations: 0.6222 MB / 0.5676 GB, free: 41.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5311, allocations: 0 / 0.5676 GB, free: 41.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001283/0.5324, allocations: 0.9226 MB / 0.5685 GB, free: 40.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5324, allocations: 8 kB / 0.5685 GB, free: 40.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.641e-05/0.5325, allocations: 63.98 kB / 0.5686 GB, free: 40.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.5329, allocations: 159.3 kB / 0.5687 GB, free: 40.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.5333, allocations: 111.8 kB / 0.5688 GB, free: 40.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.5353, allocations: 2.309 MB / 0.5711 GB, free: 37.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.5358, allocations: 31.97 kB / 0.5711 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.5359, allocations: 35.94 kB / 0.5712 GB, free: 37.8 MB / 378.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 () * Number of clocked 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,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004093/0.5363, allocations: 278.5 kB / 0.5714 GB, free: 37.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5364, allocations: 181.9 kB / 0.5716 GB, free: 37.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.538, allocations: 0.9021 MB / 0.5725 GB, free: 36.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.538, allocations: 4 kB / 0.5725 GB, free: 36.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.538, allocations: 4 kB / 0.5725 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5381, allocations: 3.984 kB / 0.5725 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.5388, allocations: 0.8669 MB / 0.5733 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.88e-05/0.5389, allocations: 59.98 kB / 0.5734 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.5392, allocations: 71.89 kB / 0.5735 GB, free: 35.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.5395, allocations: 148.7 kB / 0.5736 GB, free: 35.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.5395, allocations: 23.98 kB / 0.5736 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.5414, allocations: 2.265 MB / 0.5758 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5414, allocations: 0 / 0.5758 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.5429, allocations: 1.096 MB / 0.5769 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.5432, allocations: 247 kB / 0.5771 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5433, allocations: 11.98 kB / 0.5772 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.5436, allocations: 23.98 kB / 0.5772 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/0.5438, allocations: 44.38 kB / 0.5772 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.5438, allocations: 20 kB / 0.5772 GB, free: 31.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007981/0.5446, allocations: 0.8499 MB / 0.5781 GB, free: 30.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5446, allocations: 0 / 0.5781 GB, free: 30.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008684/0.5455, allocations: 435.5 kB / 0.5785 GB, free: 30.06 MB / 378.7 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 (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.0006389/0.5461, allocations: 0.5333 MB / 0.579 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.5474, allocations: 0.8641 MB / 0.5799 GB, free: 28.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5474, allocations: 0 / 0.5799 GB, free: 28.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.5482, allocations: 0.6137 MB / 0.5805 GB, free: 27.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.549, allocations: 195.1 kB / 0.5806 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.5517, allocations: 2.789 MB / 0.5834 GB, free: 24.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.5522, allocations: 1.173 MB / 0.5845 GB, free: 23.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.5523, allocations: 71.44 kB / 0.5846 GB, free: 23.7 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5523, allocations: 0 / 0.5846 GB, free: 23.7 MB / 378.7 MB Notification: Performance of Templates: time 0.02102/0.5733, allocations: 23.44 MB / 0.6075 GB, free: 248 kB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches