Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 258.2 MB, free: 8.074 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit")
translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 72.75 kB / 379 MB, free: 2.691 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2258, allocations: 53.37 MB / 432.4 MB, free: 7.004 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006728/0.2325, allocations: 5.321 MB / 437.7 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01176/0.2443, allocations: 9.165 MB / 446.9 MB, free: 8.461 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.2449, allocations: 55.38 kB / 446.9 MB, free: 8.406 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009376/0.2458, allocations: 407.4 kB / 447.3 MB, free: 8.008 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002105/0.2479, allocations: 0.8419 MB / 448.2 MB, free: 7.16 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2493, allocations: 0.6026 MB / 448.8 MB, free: 6.555 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002556/0.2518, allocations: 1.725 MB / 450.5 MB, free: 4.824 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.252, allocations: 108.2 kB / 450.6 MB, free: 4.703 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.2525, allocations: 322.5 kB / 450.9 MB, free: 4.387 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.2529, allocations: 325.9 kB / 451.2 MB, free: 4.066 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.2529, allocations: 31.94 kB / 451.3 MB, free: 4.035 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.2542, allocations: 0.6634 MB / 451.9 MB, free: 3.371 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2543, allocations: 103.3 kB / 452 MB, free: 3.27 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.2547, allocations: 405.5 kB / 452.4 MB, free: 2.871 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001544/0.2563, allocations: 1.221 MB / 453.7 MB, free: 1.645 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2563, allocations: 4 kB / 453.7 MB, free: 1.641 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.002e-06/0.2563, allocations: 0 / 453.7 MB, free: 1.641 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 9.698e-06/0.2563, allocations: 0 / 453.7 MB, free: 1.641 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: 68
 * Number of variables: 68
Notification: Performance of Generate backend data structure: time 0.001923/0.2582, allocations: 1.238 MB / 454.9 MB, free: 376 kB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2582, allocations: 8.031 kB / 454.9 MB, free: 368 kB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.2585, allocations: 132.2 kB / 455 MB, free: 236 kB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.2598, allocations: 0.7849 MB / 455.8 MB, free: 15.38 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.2598, allocations: 20.44 kB / 455.8 MB, free: 15.36 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.2599, allocations: 23.95 kB / 455.9 MB, free: 15.34 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.2604, allocations: 315.8 kB / 456.2 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2604, allocations: 0 / 456.2 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.2605, allocations: 12 kB / 456.2 MB, free: 15.01 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.2605, allocations: 8 kB / 456.2 MB, free: 15 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.2609, allocations: 238 kB / 456.4 MB, free: 14.77 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.2627, allocations: 1.148 MB / 457.6 MB, free: 13.56 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2631, allocations: 178.7 kB / 457.8 MB, free: 13.38 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.2634, allocations: 197.1 kB / 457.9 MB, free: 13.18 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006378/0.2698, allocations: 3.115 MB / 461.1 MB, free: 10.04 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2698, allocations: 30.56 kB / 461.1 MB, free: 10 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.2698, allocations: 0 / 461.1 MB, free: 10 MB / 366.1 MB
Notification: Performance of matching and sorting (n=23): time 0.001549/0.2714, allocations: 0.5795 MB / 461.7 MB, free: 9.41 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.2714, allocations: 81.11 kB / 461.7 MB, free: 9.312 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/0.2723, allocations: 0.7987 MB / 462.5 MB, free: 8.496 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2724, allocations: 25.7 kB / 462.6 MB, free: 8.465 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.2727, allocations: 449 kB / 463 MB, free: 8.023 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.2728, allocations: 83.31 kB / 463.1 MB, free: 7.941 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2729, allocations: 61.89 kB / 463.2 MB, free: 7.875 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001333/0.273, allocations: 321.9 kB / 463.5 MB, free: 7.555 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2732, allocations: 60.22 kB / 463.5 MB, free: 7.496 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2734, allocations: 149.9 kB / 463.7 MB, free: 7.316 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.2738, allocations: 236.9 kB / 463.9 MB, free: 7.059 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2738, allocations: 0 / 463.9 MB, free: 7.059 MB / 366.1 MB
Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006278/0.2744, allocations: 405.7 kB / 464.3 MB, free: 6.652 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2744, allocations: 8.062 kB / 464.3 MB, free: 6.645 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.2745, allocations: 16 kB / 464.3 MB, free: 6.629 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.2748, allocations: 140.7 kB / 464.5 MB, free: 6.488 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.275, allocations: 31.92 kB / 464.5 MB, free: 6.457 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006802/0.2757, allocations: 0.7112 MB / 465.2 MB, free: 5.723 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.2759, allocations: 35.73 kB / 465.2 MB, free: 5.688 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.2759, allocations: 16 kB / 465.3 MB, free: 5.672 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (16):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,11)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.2762, allocations: 193.8 kB / 465.4 MB, free: 5.473 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2763, allocations: 111.3 kB / 465.6 MB, free: 5.363 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000798/0.2771, allocations: 411.3 kB / 466 MB, free: 4.949 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2771, allocations: 0 / 466 MB, free: 4.949 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2771, allocations: 0 / 466 MB, free: 4.949 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2771, allocations: 4 kB / 466 MB, free: 4.945 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.2777, allocations: 494.6 kB / 466.4 MB, free: 4.422 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/0.2777, allocations: 16 kB / 466.5 MB, free: 4.406 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.2778, allocations: 15.98 kB / 466.5 MB, free: 4.391 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.2781, allocations: 140.7 kB / 466.6 MB, free: 4.25 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.2782, allocations: 7.938 kB / 466.6 MB, free: 4.242 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006449/0.2788, allocations: 0.7007 MB / 467.3 MB, free: 3.516 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2788, allocations: 0 / 467.3 MB, free: 3.516 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.2794, allocations: 447.2 kB / 467.8 MB, free: 3.062 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.2796, allocations: 103.3 kB / 467.9 MB, free: 2.961 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.748e-05/0.2797, allocations: 4 kB / 467.9 MB, free: 2.957 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2799, allocations: 8 kB / 467.9 MB, free: 2.949 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.2799, allocations: 19.92 kB / 467.9 MB, free: 2.93 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.28, allocations: 12 kB / 467.9 MB, free: 2.918 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0006664/0.2806, allocations: 0.5383 MB / 468.4 MB, free: 2.371 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.2806, allocations: 0 / 468.4 MB, free: 2.371 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0005501/0.2812, allocations: 203.6 kB / 468.6 MB, free: 2.172 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,11)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005267/0.2817, allocations: 299.8 kB / 468.9 MB, free: 1.871 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005885/0.2823, allocations: 267.4 kB / 469.2 MB, free: 1.598 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2823, allocations: 0 / 469.2 MB, free: 1.598 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.2826, allocations: 173.4 kB / 469.4 MB, free: 1.418 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.2833, allocations: 168.8 kB / 469.5 MB, free: 1.25 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2853, allocations: 1.247 MB / 470.8 MB, free: 15.96 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.2859, allocations: 0.9413 MB / 471.7 MB, free: 15 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002779/0.2861, allocations: 106.7 kB / 471.8 MB, free: 14.89 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.2862, allocations: 51.44 kB / 471.9 MB, free: 14.84 MB / 382.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.2862, allocations: 0 / 471.9 MB, free: 14.84 MB / 382.1 MB
Notification: Performance of Templates: time 0.01843/0.3047, allocations: 9.415 MB / 481.3 MB, free: 5.504 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.560204898938537]