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.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.001373/0.001373, allocations: 113.2 kB / 21.93 MB, free: 5.223 MB / 14.72 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.001456/0.001456, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.462/1.462, allocations: 207.7 MB / 236.1 MB, free: 9.816 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 53.64 kB / 348.4 MB, free: 9.414 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3578, allocations: 49.16 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006315/0.3641, allocations: 4.514 MB / 402.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.3753, allocations: 7.491 MB / 409.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.3765, allocations: 57.25 kB / 409.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.3778, allocations: 349.4 kB / 410 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.3812, allocations: 0.8317 MB / 410.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.3834, allocations: 0.581 MB / 411.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.3864, allocations: 1.659 MB / 413.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.3867, allocations: 97.5 kB / 413.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.3872, allocations: 305.1 kB / 413.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.3876, allocations: 295.8 kB / 413.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.3877, allocations: 30.47 kB / 413.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.3893, allocations: 0.5197 MB / 414.3 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3894, allocations: 111.2 kB / 414.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.3898, allocations: 304.4 kB / 414.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.3916, allocations: 1.211 MB / 415.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3916, allocations: 0 / 415.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3916, allocations: 0 / 415.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.3917, allocations: 5.203 kB / 415.9 MB, free: 13.93 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.002451/0.3941, allocations: 1.235 MB / 417.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.3942, allocations: 17.08 kB / 417.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.3944, allocations: 120.8 kB / 417.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.3959, allocations: 0.782 MB / 418.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3959, allocations: 17.75 kB / 418.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.396, allocations: 24.09 kB / 418.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.3966, allocations: 331 kB / 418.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3966, allocations: 1.156 kB / 418.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.3967, allocations: 14.19 kB / 418.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.3967, allocations: 13.55 kB / 418.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.3972, allocations: 232 kB / 418.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.3992, allocations: 1.048 MB / 419.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.3996, allocations: 187.3 kB / 419.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.4, allocations: 203.4 kB / 420.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007326/0.4073, allocations: 3.071 MB / 423.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.4073, allocations: 36.84 kB / 423.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.4073, allocations: 0 / 423.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001702/0.409, allocations: 0.5825 MB / 423.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.4091, allocations: 81.11 kB / 423.9 MB, free: 8.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.4102, allocations: 0.782 MB / 424.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.4102, allocations: 29.7 kB / 424.7 MB, free: 7.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.4107, allocations: 440.8 kB / 425.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.4107, allocations: 87.25 kB / 425.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.4108, allocations: 53.94 kB / 425.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4111, allocations: 325.9 kB / 425.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.4112, allocations: 64.2 kB / 425.6 MB, free: 6.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.4115, allocations: 171.6 kB / 425.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.4118, allocations: 228.4 kB / 426 MB, free: 6.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4118, allocations: 4.031 kB / 426 MB, free: 6.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006946/0.4125, allocations: 398.1 kB / 426.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4126, allocations: 7.984 kB / 426.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.4126, allocations: 16 kB / 426.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004225/0.413, allocations: 145 kB / 426.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.4132, allocations: 35.91 kB / 426.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007707/0.414, allocations: 0.7122 MB / 427.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.4143, allocations: 19.89 kB / 427.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.4144, allocations: 16 kB / 427.4 MB, free: 4.969 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.0002853/0.4146, allocations: 201.8 kB / 427.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.4148, allocations: 107.3 kB / 427.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/0.4156, allocations: 407.2 kB / 428.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4156, allocations: 4 kB / 428.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4156, allocations: 0 / 428.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4156, allocations: 4 kB / 428.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.4163, allocations: 426.3 kB / 428.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.4163, allocations: 8 kB / 428.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4164, allocations: 19.98 kB / 428.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.4167, allocations: 132.8 kB / 428.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.4167, allocations: 15.94 kB / 428.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006985/0.4174, allocations: 0.7006 MB / 429.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4174, allocations: 0 / 429.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.418, allocations: 448.2 kB / 429.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.4183, allocations: 91.38 kB / 429.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.4183, allocations: 4 kB / 429.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4186, allocations: 8 kB / 429.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.4186, allocations: 27.86 kB / 429.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.4186, allocations: 12.06 kB / 430 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006781/0.4193, allocations: 0.5338 MB / 430.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4193, allocations: 0 / 430.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006433/0.42, allocations: 191.6 kB / 430.7 MB, free: 1.559 MB / 334.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.000538/0.4205, allocations: 299.1 kB / 431 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.4211, allocations: 268 kB / 431.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4211, allocations: 4 kB / 431.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.4214, allocations: 164.3 kB / 431.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.4221, allocations: 136.2 kB / 431.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.4242, allocations: 1.276 MB / 432.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4245, allocations: 353.3 kB / 433.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.4246, allocations: 51.44 kB / 433.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4246, allocations: 0 / 433.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Templates: time 0.02335/0.448, allocations: 14.83 MB / 448 MB, free: 80 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/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: 8.369298700243235]