Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.001309/0.001309, allocations: 104.8 kB / 21.18 MB, free: 0.707 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.001392/0.001392, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 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.447/1.447, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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.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.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 55.91 kB / 347.6 MB, free: 9.656 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3224, allocations: 49.16 MB / 396.8 MB, free: 9.496 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.007136/0.3296, allocations: 5.158 MB / 402 MB, free: 5.77 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009708/0.3393, allocations: 8.723 MB / 410.7 MB, free: 15.35 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008931/0.3402, allocations: 57.25 kB / 410.7 MB, free: 15.31 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001721/0.3419, allocations: 390.4 kB / 411.1 MB, free: 15.11 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005204/0.3471, allocations: 0.8261 MB / 412 MB, free: 14.6 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.3496, allocations: 0.5835 MB / 412.5 MB, free: 14.3 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003501/0.3531, allocations: 1.655 MB / 414.2 MB, free: 13.68 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.3534, allocations: 105.6 kB / 414.3 MB, free: 13.61 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.354, allocations: 295.3 kB / 414.6 MB, free: 13.47 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.3544, allocations: 319.8 kB / 414.9 MB, free: 13.27 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.3545, allocations: 38.12 kB / 414.9 MB, free: 13.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.3568, allocations: 0.5555 MB / 415.5 MB, free: 13.04 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3569, allocations: 103.7 kB / 415.6 MB, free: 12.96 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.3574, allocations: 402.9 kB / 416 MB, free: 12.7 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002306/0.3597, allocations: 1.214 MB / 417.2 MB, free: 11.88 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3597, allocations: 0 / 417.2 MB, free: 11.88 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.773e-06/0.3597, allocations: 0 / 417.2 MB, free: 11.88 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.377e-05/0.3597, allocations: 0 / 417.2 MB, free: 11.88 MB / 334.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.002406/0.3621, allocations: 1.239 MB / 418.4 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3622, allocations: 12.67 kB / 418.4 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.3624, allocations: 128.9 kB / 418.6 MB, free: 10.84 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.3638, allocations: 0.7734 MB / 419.3 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.3639, allocations: 21.91 kB / 419.4 MB, free: 10.19 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.3639, allocations: 23.78 kB / 419.4 MB, free: 10.18 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.3646, allocations: 309.2 kB / 419.7 MB, free: 9.984 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3647, allocations: 4 kB / 419.7 MB, free: 9.98 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.3647, allocations: 10.56 kB / 419.7 MB, free: 9.973 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3647, allocations: 6.625 kB / 419.7 MB, free: 9.973 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.3652, allocations: 232 kB / 419.9 MB, free: 9.871 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.3673, allocations: 1.166 MB / 421.1 MB, free: 8.969 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.3677, allocations: 176.4 kB / 421.3 MB, free: 8.871 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.368, allocations: 204.3 kB / 421.5 MB, free: 8.762 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007574/0.3756, allocations: 3.098 MB / 424.6 MB, free: 7.172 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.3756, allocations: 39.47 kB / 424.6 MB, free: 7.125 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=23): time 3.477e-06/0.3756, allocations: 1.188 kB / 424.6 MB, free: 7.125 MB / 334.1 MB
Notification: Performance of matching and sorting (n=23): time 0.001817/0.3775, allocations: 0.5793 MB / 425.2 MB, free: 6.781 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.3775, allocations: 81.11 kB / 425.3 MB, free: 6.684 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.3786, allocations: 0.7948 MB / 426.1 MB, free: 5.871 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.3786, allocations: 29.7 kB / 426.1 MB, free: 5.836 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.379, allocations: 452.9 kB / 426.5 MB, free: 5.387 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.3791, allocations: 75.33 kB / 426.6 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.3792, allocations: 53.94 kB / 426.7 MB, free: 5.254 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001541/0.3794, allocations: 321.9 kB / 427 MB, free: 4.934 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3795, allocations: 72.2 kB / 427.1 MB, free: 4.863 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3797, allocations: 141.9 kB / 427.2 MB, free: 4.691 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.3802, allocations: 232.4 kB / 427.4 MB, free: 4.434 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.3802, allocations: 0 / 427.4 MB, free: 4.434 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007339/0.3809, allocations: 406.1 kB / 427.8 MB, free: 4.027 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.3809, allocations: 4 kB / 427.8 MB, free: 4.023 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.381, allocations: 20.27 kB / 427.8 MB, free: 4.004 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004145/0.3814, allocations: 140.8 kB / 428 MB, free: 3.863 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.3816, allocations: 39.89 kB / 428 MB, free: 3.824 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007576/0.3823, allocations: 0.7161 MB / 428.7 MB, free: 3.082 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3827, allocations: 35.75 kB / 428.8 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.3827, allocations: 12 kB / 428.8 MB, free: 3.035 MB / 334.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.0002979/0.383, allocations: 193.8 kB / 429 MB, free: 2.836 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.3832, allocations: 107.3 kB / 429.1 MB, free: 2.73 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008685/0.3841, allocations: 407.4 kB / 429.5 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3841, allocations: 0 / 429.5 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.3841, allocations: 0 / 429.5 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3841, allocations: 4 kB / 429.5 MB, free: 2.312 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.3848, allocations: 494.6 kB / 430 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.3848, allocations: 12 kB / 430 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.385, allocations: 27.92 kB / 430 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.3853, allocations: 128.8 kB / 430.1 MB, free: 1.621 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3854, allocations: 8 kB / 430.1 MB, free: 1.613 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007178/0.3861, allocations: 0.7006 MB / 430.8 MB, free: 0.8867 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3861, allocations: 4.031 kB / 430.8 MB, free: 0.8828 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.3868, allocations: 452.2 kB / 431.3 MB, free: 432 kB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.3871, allocations: 99.31 kB / 431.4 MB, free: 332 kB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-05/0.3871, allocations: 4 kB / 431.4 MB, free: 328 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3874, allocations: 8.062 kB / 431.4 MB, free: 320 kB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.3874, allocations: 23.91 kB / 431.4 MB, free: 296 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3875, allocations: 11.94 kB / 431.4 MB, free: 284 kB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0007153/0.3882, allocations: 0.5423 MB / 432 MB, free: 15.72 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3882, allocations: 0 / 432 MB, free: 15.72 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0006797/0.3889, allocations: 195.6 kB / 432.2 MB, free: 15.53 MB / 350.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.0005797/0.3894, allocations: 295.1 kB / 432.4 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006673/0.3901, allocations: 267.5 kB / 432.7 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3901, allocations: 0 / 432.7 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.3904, allocations: 172.3 kB / 432.9 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.3911, allocations: 132.8 kB / 433 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.3933, allocations: 1.251 MB / 434.2 MB, free: 13.36 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.394, allocations: 0.9374 MB / 435.2 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0003194/0.3943, allocations: 110.7 kB / 435.3 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.3944, allocations: 51.44 kB / 435.3 MB, free: 12.23 MB / 350.1 MB
Notification: Performance of SimCode: time 4.51e-07/0.3944, allocations: 0 / 435.3 MB, free: 12.23 MB / 350.1 MB
Notification: Performance of Templates: time 0.01989/0.4143, allocations: 9.356 MB / 444.7 MB, free: 2.859 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.912787203676999]