Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00173/0.00173, allocations: 106.5 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.002108/0.002108, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.3 MB / 258 MB, free: 8.262 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 63.89 kB / 378.7 MB, free: 2.805 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2542, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006648/0.2609, allocations: 5.336 MB / 437.4 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01149/0.2724, allocations: 9.167 MB / 446.6 MB, free: 8.531 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.273, allocations: 59.38 kB / 446.7 MB, free: 8.473 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009745/0.2739, allocations: 393.4 kB / 447.1 MB, free: 8.086 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002326/0.2763, allocations: 0.8419 MB / 447.9 MB, free: 7.238 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.2778, allocations: 0.6026 MB / 448.5 MB, free: 6.633 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00258/0.2804, allocations: 1.725 MB / 450.2 MB, free: 4.902 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.2806, allocations: 107.3 kB / 450.3 MB, free: 4.781 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.281, allocations: 326.5 kB / 450.6 MB, free: 4.461 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.2814, allocations: 322 kB / 451 MB, free: 4.145 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.2815, allocations: 35.94 kB / 451 MB, free: 4.109 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.2828, allocations: 0.6595 MB / 451.7 MB, free: 3.449 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2829, allocations: 103.3 kB / 451.8 MB, free: 3.348 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.2833, allocations: 405.5 kB / 452.2 MB, free: 2.949 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001565/0.2849, allocations: 1.221 MB / 453.4 MB, free: 1.723 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2849, allocations: 4 kB / 453.4 MB, free: 1.719 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.142e-06/0.2849, allocations: 0 / 453.4 MB, free: 1.719 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.502e-05/0.2849, allocations: 3.938 kB / 453.4 MB, free: 1.715 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.002031/0.2869, allocations: 1.234 MB / 454.6 MB, free: 456 kB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.287, allocations: 8.031 kB / 454.6 MB, free: 448 kB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.2873, allocations: 132.2 kB / 454.8 MB, free: 316 kB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.2886, allocations: 0.7888 MB / 455.5 MB, free: 15.46 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2886, allocations: 20.5 kB / 455.6 MB, free: 15.44 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.2887, allocations: 27.95 kB / 455.6 MB, free: 15.41 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.2892, allocations: 307.8 kB / 455.9 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2893, allocations: 0 / 455.9 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.2893, allocations: 12 kB / 455.9 MB, free: 15.09 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.2893, allocations: 11.98 kB / 455.9 MB, free: 15.08 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.2898, allocations: 238 kB / 456.1 MB, free: 14.85 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2916, allocations: 1.144 MB / 457.3 MB, free: 13.64 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.292, allocations: 170.7 kB / 457.5 MB, free: 13.46 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.2923, allocations: 205.2 kB / 457.7 MB, free: 13.25 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006726/0.2991, allocations: 3.115 MB / 460.8 MB, free: 10.12 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2991, allocations: 38.56 kB / 460.8 MB, free: 10.07 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.2991, allocations: 0 / 460.8 MB, free: 10.07 MB / 366.1 MB
Notification: Performance of matching and sorting (n=23): time 0.001662/0.3008, allocations: 0.5786 MB / 461.4 MB, free: 9.484 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.3008, allocations: 81.09 kB / 461.5 MB, free: 9.387 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3018, allocations: 0.7987 MB / 462.3 MB, free: 8.57 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3019, allocations: 33.7 kB / 462.3 MB, free: 8.531 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.3023, allocations: 441 kB / 462.7 MB, free: 8.098 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.3023, allocations: 75.33 kB / 462.8 MB, free: 8.023 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3024, allocations: 61.89 kB / 462.9 MB, free: 7.957 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001393/0.3026, allocations: 317.9 kB / 463.2 MB, free: 7.641 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3027, allocations: 68.2 kB / 463.2 MB, free: 7.574 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.3029, allocations: 145.9 kB / 463.4 MB, free: 7.398 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.3033, allocations: 229.1 kB / 463.6 MB, free: 7.145 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3033, allocations: 0 / 463.6 MB, free: 7.145 MB / 366.1 MB
Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006725/0.304, allocations: 409.3 kB / 464 MB, free: 6.734 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.304, allocations: 11.98 kB / 464 MB, free: 6.723 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.304, allocations: 16 kB / 464 MB, free: 6.707 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.3044, allocations: 147.4 kB / 464.2 MB, free: 6.562 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3046, allocations: 43.91 kB / 464.2 MB, free: 6.52 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006922/0.3053, allocations: 0.7034 MB / 464.9 MB, free: 5.793 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.3055, allocations: 31.8 kB / 465 MB, free: 5.762 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.3056, allocations: 16 kB / 465 MB, free: 5.746 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.0002514/0.3058, allocations: 197.8 kB / 465.2 MB, free: 5.543 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.306, allocations: 107.3 kB / 465.3 MB, free: 5.438 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008796/0.3068, allocations: 407.3 kB / 465.7 MB, free: 5.027 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3068, allocations: 4 kB / 465.7 MB, free: 5.023 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3068, allocations: 0 / 465.7 MB, free: 5.023 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3068, allocations: 0 / 465.7 MB, free: 5.023 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.3075, allocations: 486.6 kB / 466.1 MB, free: 4.508 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.3075, allocations: 15.98 kB / 466.2 MB, free: 4.492 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3076, allocations: 15.98 kB / 466.2 MB, free: 4.477 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.3079, allocations: 147.3 kB / 466.3 MB, free: 4.332 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.308, allocations: 19.92 kB / 466.3 MB, free: 4.312 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006718/0.3086, allocations: 0.6929 MB / 467 MB, free: 3.594 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3086, allocations: 0 / 467 MB, free: 3.594 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.3093, allocations: 444.5 kB / 467.5 MB, free: 3.141 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.3095, allocations: 99.27 kB / 467.6 MB, free: 3.043 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.3095, allocations: 11.98 kB / 467.6 MB, free: 3.031 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.3098, allocations: 0 / 467.6 MB, free: 3.031 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.3098, allocations: 19.94 kB / 467.6 MB, free: 3.012 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3098, allocations: 11.98 kB / 467.6 MB, free: 3 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.000697/0.3105, allocations: 0.5462 MB / 468.2 MB, free: 2.445 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3105, allocations: 0 / 468.2 MB, free: 2.445 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006507/0.3112, allocations: 203.6 kB / 468.4 MB, free: 2.246 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.0005474/0.3117, allocations: 299.7 kB / 468.6 MB, free: 1.945 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.000631/0.3124, allocations: 267.9 kB / 468.9 MB, free: 1.672 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3124, allocations: 0 / 468.9 MB, free: 1.672 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.3127, allocations: 175.2 kB / 469.1 MB, free: 1.488 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008328/0.3135, allocations: 160.3 kB / 469.2 MB, free: 1.328 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3156, allocations: 1.243 MB / 470.5 MB, free: 52 kB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.3162, allocations: 0.9375 MB / 471.4 MB, free: 15.08 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003083/0.3165, allocations: 110.7 kB / 471.5 MB, free: 14.97 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.3166, allocations: 55.42 kB / 471.6 MB, free: 14.91 MB / 382.1 MB
Notification: Performance of SimCode: time 6.02e-07/0.3166, allocations: 0 / 471.6 MB, free: 14.91 MB / 382.1 MB
Notification: Performance of Templates: time 0.01949/0.3361, allocations: 9.407 MB / 481 MB, free: 5.574 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.79700752813369]