Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008749, allocations: 98.61 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002654, allocations: 8 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2071, allocations: 50.41 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3083, allocations: 92.54 MB / 494 MB, free: 3.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3086, allocations: 71.97 kB / 494.1 MB, free: 3.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2624/0.571, allocations: 58.18 MB / 0.5393 GB, free: 73.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.5711, allocations: 0 / 0.5393 GB, free: 73.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.987e-05/0.5711, allocations: 23.98 kB / 0.5394 GB, free: 73.5 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.002661/0.5738, allocations: 1.844 MB / 0.5412 GB, free: 71.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.5739, allocations: 8.031 kB / 0.5412 GB, free: 71.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.5741, allocations: 209.6 kB / 0.5414 GB, free: 71.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.5756, allocations: 1.154 MB / 0.5425 GB, free: 70.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.5757, allocations: 33 kB / 0.5425 GB, free: 70.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.5757, allocations: 40 kB / 0.5426 GB, free: 70.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.5765, allocations: 0.5197 MB / 0.5431 GB, free: 69.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5765, allocations: 0 / 0.5431 GB, free: 69.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.5766, allocations: 16 kB / 0.5431 GB, free: 69.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.5766, allocations: 16 kB / 0.5431 GB, free: 69.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.5774, allocations: 496 kB / 0.5436 GB, free: 69.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.5801, allocations: 2.122 MB / 0.5457 GB, free: 66.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.5808, allocations: 0.7262 MB / 0.5464 GB, free: 66.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006911/0.5878, allocations: 7.694 MB / 0.5539 GB, free: 57.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005239/0.5883, allocations: 298.5 kB / 0.5542 GB, free: 56.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.414e-06/0.5883, allocations: 0 / 0.5542 GB, free: 56.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.003037/0.5914, allocations: 2.166 MB / 0.5563 GB, free: 54.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.5914, allocations: 63.83 kB / 0.5563 GB, free: 54.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.5925, allocations: 1.084 MB / 0.5574 GB, free: 53.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.5925, allocations: 37.69 kB / 0.5574 GB, free: 53.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.5929, allocations: 0.715 MB / 0.5581 GB, free: 52.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.5931, allocations: 201.1 kB / 0.5583 GB, free: 52.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.5931, allocations: 8 kB / 0.5583 GB, free: 52.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.5931, allocations: 341.9 kB / 0.5587 GB, free: 52.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.5935, allocations: 197.6 kB / 0.5588 GB, free: 51.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.5939, allocations: 384.4 kB / 0.5592 GB, free: 51.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.5943, allocations: 253.9 kB / 0.5595 GB, free: 51.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5943, allocations: 0 / 0.5595 GB, free: 51.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001256/0.5956, allocations: 0.9305 MB / 0.5604 GB, free: 50.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5956, allocations: 8 kB / 0.5604 GB, free: 50.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.399e-05/0.5957, allocations: 55.98 kB / 0.5604 GB, free: 50.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.596, allocations: 159.6 kB / 0.5606 GB, free: 50.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.5965, allocations: 115.8 kB / 0.5607 GB, free: 50.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5985, allocations: 2.35 MB / 0.563 GB, free: 47.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.599, allocations: 27.98 kB / 0.563 GB, free: 47.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.599, allocations: 32 kB / 0.563 GB, free: 47.46 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.0003829/0.5994, allocations: 273.7 kB / 0.5633 GB, free: 47.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.5996, allocations: 181.9 kB / 0.5635 GB, free: 47.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.6012, allocations: 0.9216 MB / 0.5644 GB, free: 46.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6012, allocations: 8 kB / 0.5644 GB, free: 46.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6012, allocations: 0 / 0.5644 GB, free: 46.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.6013, allocations: 3.984 kB / 0.5644 GB, free: 46.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/0.6022, allocations: 0.8554 MB / 0.5652 GB, free: 45.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.907e-05/0.6022, allocations: 55.98 kB / 0.5653 GB, free: 45.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.6025, allocations: 63.89 kB / 0.5653 GB, free: 45.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003282/0.6029, allocations: 152.7 kB / 0.5655 GB, free: 44.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.6029, allocations: 23.98 kB / 0.5655 GB, free: 44.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.605, allocations: 2.3 MB / 0.5677 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.605, allocations: 3.984 kB / 0.5678 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.6066, allocations: 1.092 MB / 0.5688 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.607, allocations: 259 kB / 0.5691 GB, free: 41.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.6072, allocations: 16.12 kB / 0.5691 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.6076, allocations: 19.98 kB / 0.5691 GB, free: 41.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6077, allocations: 48.38 kB / 0.5691 GB, free: 40.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.6078, allocations: 19.98 kB / 0.5692 GB, free: 40.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009971/0.6088, allocations: 0.846 MB / 0.57 GB, free: 40.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6088, allocations: 0 / 0.57 GB, free: 40.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001024/0.6098, allocations: 435.5 kB / 0.5704 GB, free: 39.68 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.0007701/0.6106, allocations: 0.5328 MB / 0.5709 GB, free: 39.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.6119, allocations: 0.8679 MB / 0.5718 GB, free: 38.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.612, allocations: 64 / 0.5718 GB, free: 38.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008176/0.6128, allocations: 0.6172 MB / 0.5724 GB, free: 37.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.6134, allocations: 186.5 kB / 0.5726 GB, free: 37.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.6166, allocations: 2.754 MB / 0.5752 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.6171, allocations: 1.204 MB / 0.5764 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005369/0.6176, allocations: 149.5 kB / 0.5766 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.6177, allocations: 71.44 kB / 0.5766 GB, free: 33.19 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6177, allocations: 0 / 0.5766 GB, free: 33.19 MB / 378.7 MB Notification: Performance of Templates: time 0.02083/0.6386, allocations: 13.47 MB / 0.5898 GB, free: 19.79 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches