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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002651/0.002651, allocations: 103.5 kB / 21.74 MB, free: 2.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002836/0.002836, allocations: 164.2 kB / 25.03 MB, free: 7.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 158.6 MB / 186.8 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.375e-05, allocations: 2.312 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009525/0.009549, allocations: 6.96 MB / 257.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.02443, allocations: 9.778 MB / 267.1 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.02558, allocations: 122.6 kB / 267.2 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.02746, allocations: 0.6305 MB / 267.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.03145, allocations: 1.225 MB / 269.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.03343, allocations: 0.6796 MB / 269.8 MB, free: 464 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004858/0.03829, allocations: 2.581 MB / 272.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.03879, allocations: 176.4 kB / 272.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.03988, allocations: 0.6779 MB / 273.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/0.04073, allocations: 374.7 kB / 273.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.04085, allocations: 52 kB / 273.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.04256, allocations: 0.6673 MB / 274.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.04277, allocations: 182.8 kB / 274.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.04337, allocations: 382.8 kB / 274.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.04624, allocations: 2.001 MB / 276.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.04625, allocations: 0 / 276.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04625, allocations: 0 / 276.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.04627, allocations: 0 / 276.8 MB, free: 9.336 MB / 266.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.003647/0.04992, allocations: 2.175 MB / 279 MB, free: 7.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.04996, allocations: 11.98 kB / 279 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.05034, allocations: 243.7 kB / 279.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.053, allocations: 1.41 MB / 280.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.05305, allocations: 33.12 kB / 280.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.05315, allocations: 48 kB / 280.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009903/0.05414, allocations: 460.2 kB / 281.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.05416, allocations: 4 kB / 281.2 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.05422, allocations: 20 kB / 281.2 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.05424, allocations: 12 kB / 281.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009419/0.05518, allocations: 412.1 kB / 281.6 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.05915, allocations: 2.184 MB / 283.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.06011, allocations: 463.5 kB / 284.3 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.06084, allocations: 412.2 kB / 284.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007351/0.06819, allocations: 2.747 MB / 287.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009039/0.06909, allocations: 291.6 kB / 287.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=55): time 2.796e-06/0.06909, allocations: 0 / 287.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=59): time 0.003991/0.07309, allocations: 1.865 MB / 289.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.07315, allocations: 67.83 kB / 289.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.07559, allocations: 1.756 MB / 291.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.07564, allocations: 37.7 kB / 291.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009511/0.07659, allocations: 0.8808 MB / 292.3 MB, free: 9.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.07681, allocations: 222.2 kB / 292.5 MB, free: 9.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.07706, allocations: 143.9 kB / 292.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003023/0.07736, allocations: 0.5121 MB / 293.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.07776, allocations: 181.6 kB / 293.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.0784, allocations: 422.1 kB / 293.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.08014, allocations: 0.8664 MB / 294.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.08014, allocations: 0 / 294.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001864/0.08201, allocations: 0.9239 MB / 295.5 MB, free: 6.074 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.08203, allocations: 8 kB / 295.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.08213, allocations: 67.86 kB / 295.6 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.08267, allocations: 172.1 kB / 295.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.08315, allocations: 115.9 kB / 295.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.08862, allocations: 3.003 MB / 298.9 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.08918, allocations: 19.98 kB / 298.9 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.08926, allocations: 32 kB / 299 MB, free: 2.543 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real T1.vbx:VARIABLE(unit = \"V\" fixed = true ) 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 (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 (57): * Single equations (assignments): 54 * 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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006017/0.08986, allocations: 324.4 kB / 299.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.09014, allocations: 210.9 kB / 299.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.09209, allocations: 0.8611 MB / 300.3 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.0921, allocations: 7.984 kB / 300.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.09211, allocations: 4 kB / 300.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.09212, allocations: 0 / 300.4 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.09356, allocations: 0.9919 MB / 301.3 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-05/0.09365, allocations: 56 kB / 301.4 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.09032/0.184, allocations: 60.27 kB / 301.5 MB, free: 57.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005262/0.1845, allocations: 157.1 kB / 301.6 MB, free: 57.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/0.1846, allocations: 19.73 kB / 301.6 MB, free: 57.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.1871, allocations: 2.989 MB / 304.6 MB, free: 55.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1871, allocations: 0.75 kB / 304.6 MB, free: 55.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.1889, allocations: 1.061 MB / 305.7 MB, free: 55.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.1893, allocations: 178.5 kB / 305.9 MB, free: 55.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.1895, allocations: 15.75 kB / 305.9 MB, free: 55.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.1898, allocations: 16.75 kB / 305.9 MB, free: 55.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.19, allocations: 44.84 kB / 305.9 MB, free: 55.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.19, allocations: 24.22 kB / 306 MB, free: 55.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001291/0.1913, allocations: 1.021 MB / 307 MB, free: 55.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1913, allocations: 0 / 307 MB, free: 55.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009775/0.1923, allocations: 383 kB / 307.3 MB, free: 55.3 MB / 282.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 (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,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007659/0.1931, allocations: 0.493 MB / 307.8 MB, free: 55.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.1946, allocations: 0.8851 MB / 308.7 MB, free: 54.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1946, allocations: 0 / 308.7 MB, free: 54.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008928/0.1955, allocations: 0.622 MB / 309.3 MB, free: 54.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.1962, allocations: 199.2 kB / 309.5 MB, free: 54.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.1994, allocations: 2.376 MB / 311.9 MB, free: 53.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.2, allocations: 0.5907 MB / 312.5 MB, free: 52.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004814/0.2005, allocations: 184.3 kB / 312.7 MB, free: 52.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.2006, allocations: 88.53 kB / 312.8 MB, free: 52.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2006, allocations: 0 / 312.8 MB, free: 52.93 MB / 282.7 MB Notification: Performance of Templates: time 0.02266/0.2233, allocations: 13.79 MB / 326.6 MB, free: 41.89 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.817656378960237]