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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 184.3 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 39.92 kB / 370.9 MB, free: 9.367 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 52.19 MB / 423.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008752/0.2537, allocations: 7.55 MB / 430.7 MB, free: 7.105 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01343/0.2671, allocations: 10.75 MB / 441.4 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2682, allocations: 126.6 kB / 441.5 MB, free: 12.18 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001669/0.2698, allocations: 0.7099 MB / 442.2 MB, free: 11.47 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003173/0.273, allocations: 1.202 MB / 443.4 MB, free: 10.26 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2746, allocations: 0.6761 MB / 444.1 MB, free: 9.578 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003713/0.2783, allocations: 2.559 MB / 446.7 MB, free: 7.012 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.2786, allocations: 184.3 kB / 446.9 MB, free: 6.812 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.2792, allocations: 0.5094 MB / 447.4 MB, free: 6.301 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006086/0.2798, allocations: 0.5278 MB / 447.9 MB, free: 5.77 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.2799, allocations: 56 kB / 448 MB, free: 5.715 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.2815, allocations: 0.7765 MB / 448.7 MB, free: 4.938 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.2817, allocations: 182.8 kB / 448.9 MB, free: 4.758 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000676/0.2824, allocations: 0.6754 MB / 449.6 MB, free: 4.078 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002443/0.2848, allocations: 1.956 MB / 451.5 MB, free: 2.113 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2848, allocations: 0 / 451.5 MB, free: 2.113 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.072e-06/0.2848, allocations: 0 / 451.5 MB, free: 2.113 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.66e-05/0.2848, allocations: 0 / 451.5 MB, free: 2.113 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.003161/0.288, allocations: 1.979 MB / 453.5 MB, free: 96 kB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.288, allocations: 8.031 kB / 453.5 MB, free: 88 kB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.2883, allocations: 205.6 kB / 453.7 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.2904, allocations: 1.242 MB / 455 MB, free: 14.59 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.2905, allocations: 33 kB / 455 MB, free: 14.55 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.2906, allocations: 51.95 kB / 455.1 MB, free: 14.5 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.2916, allocations: 0.5119 MB / 455.6 MB, free: 13.98 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2916, allocations: 0 / 455.6 MB, free: 13.98 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.2917, allocations: 16 kB / 455.6 MB, free: 13.96 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.2917, allocations: 23.92 kB / 455.6 MB, free: 13.94 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.2927, allocations: 484.1 kB / 456.1 MB, free: 13.47 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.296, allocations: 2.046 MB / 458.1 MB, free: 11.35 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.297, allocations: 0.5057 MB / 458.6 MB, free: 10.83 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007762/0.2978, allocations: 465.5 kB / 459.1 MB, free: 10.38 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.00643/0.3043, allocations: 2.596 MB / 461.7 MB, free: 7.762 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006484/0.3049, allocations: 290.1 kB / 462 MB, free: 7.465 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=55): time 2.525e-06/0.3049, allocations: 0 / 462 MB, free: 7.465 MB / 366.1 MB
Notification: Performance of matching and sorting (n=59): time 0.003912/0.3088, allocations: 1.916 MB / 463.9 MB, free: 5.512 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3089, allocations: 59.83 kB / 463.9 MB, free: 5.441 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.3105, allocations: 1.3 MB / 465.2 MB, free: 4.145 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.3105, allocations: 33.7 kB / 465.3 MB, free: 4.105 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006543/0.3112, allocations: 0.7157 MB / 466 MB, free: 3.383 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.3114, allocations: 214.2 kB / 466.2 MB, free: 3.172 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3115, allocations: 118.3 kB / 466.3 MB, free: 3.051 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001541/0.3117, allocations: 337.9 kB / 466.6 MB, free: 2.715 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.3122, allocations: 201.6 kB / 466.8 MB, free: 2.52 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.3128, allocations: 363.8 kB / 467.2 MB, free: 2.098 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3138, allocations: 0.5921 MB / 467.8 MB, free: 1.434 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3138, allocations: 0 / 467.8 MB, free: 1.434 MB / 366.1 MB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.001702/0.3155, allocations: 0.9168 MB / 468.7 MB, free: 0.5078 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3156, allocations: 4 kB / 468.7 MB, free: 0.5039 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/0.3157, allocations: 64.61 kB / 468.8 MB, free: 452 kB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.3161, allocations: 156.8 kB / 468.9 MB, free: 292 kB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.3166, allocations: 111.8 kB / 469 MB, free: 180 kB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.3198, allocations: 2.413 MB / 471.4 MB, free: 13.65 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.3202, allocations: 43.95 kB / 471.5 MB, free: 13.61 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.3203, allocations: 32 kB / 471.5 MB, free: 13.58 MB / 382.1 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 (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.0004257/0.3207, allocations: 265.7 kB / 471.8 MB, free: 13.31 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.3209, allocations: 190.8 kB / 472 MB, free: 13.12 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.3228, allocations: 0.8776 MB / 472.8 MB, free: 12.23 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3228, allocations: 11.92 kB / 472.9 MB, free: 12.22 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3228, allocations: 4 kB / 472.9 MB, free: 12.21 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3228, allocations: 11.88 kB / 472.9 MB, free: 12.2 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3239, allocations: 0.8388 MB / 473.7 MB, free: 11.32 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.796e-05/0.324, allocations: 52 kB / 473.8 MB, free: 11.27 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.3243, allocations: 63.94 kB / 473.8 MB, free: 11.21 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003929/0.3247, allocations: 148.8 kB / 474 MB, free: 11.06 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.3247, allocations: 12 kB / 474 MB, free: 11.05 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.3278, allocations: 2.397 MB / 476.4 MB, free: 8.539 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3278, allocations: 0 / 476.4 MB, free: 8.539 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.3298, allocations: 1.069 MB / 477.4 MB, free: 7.445 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.3302, allocations: 178.8 kB / 477.6 MB, free: 7.27 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.3303, allocations: 12 kB / 477.6 MB, free: 7.258 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3307, allocations: 19.92 kB / 477.6 MB, free: 7.238 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.3308, allocations: 48.36 kB / 477.7 MB, free: 7.191 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.3309, allocations: 23.98 kB / 477.7 MB, free: 7.168 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.001127/0.332, allocations: 0.8578 MB / 478.6 MB, free: 6.32 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.332, allocations: 4 kB / 478.6 MB, free: 6.316 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0009179/0.3329, allocations: 383.2 kB / 479 MB, free: 5.941 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 (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.0007694/0.3337, allocations: 459.5 kB / 479.4 MB, free: 5.48 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001693/0.3354, allocations: 0.8049 MB / 480.2 MB, free: 4.652 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3354, allocations: 0 / 480.2 MB, free: 4.652 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001042/0.3364, allocations: 0.5474 MB / 480.8 MB, free: 4.082 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.3373, allocations: 209.1 kB / 481 MB, free: 3.879 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.3413, allocations: 2.427 MB / 483.4 MB, free: 1.414 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/0.3422, allocations: 1.174 MB / 484.6 MB, free: 216 kB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0005194/0.3427, allocations: 187.2 kB / 484.7 MB, free: 24 kB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3429, allocations: 87.48 kB / 484.8 MB, free: 15.93 MB / 398.1 MB
Notification: Performance of SimCode: time 7.11e-07/0.3429, allocations: 0 / 484.8 MB, free: 15.93 MB / 398.1 MB
Notification: Performance of Templates: time 0.02862/0.3715, allocations: 14.05 MB / 498.9 MB, free: 1.949 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.019323891028762]