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.001395/0.001395, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001554/0.001554, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.521/1.521, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.001956/0.001956, allocations: 68.06 kB / 378.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2477, allocations: 53.32 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006378/0.2541, allocations: 5.339 MB / 437.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.2654, allocations: 9.152 MB / 446.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.266, allocations: 39.69 kB / 446.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009966/0.267, allocations: 397.4 kB / 447 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.2695, allocations: 0.8458 MB / 447.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.2712, allocations: 0.6026 MB / 448.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.2739, allocations: 1.72 MB / 450.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.2741, allocations: 103.1 kB / 450.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.2745, allocations: 314.5 kB / 450.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.2749, allocations: 326 kB / 450.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.275, allocations: 32 kB / 450.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.2764, allocations: 0.6594 MB / 451.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.2765, allocations: 103.3 kB / 451.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.2769, allocations: 405.5 kB / 452 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.2784, allocations: 1.218 MB / 453.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2784, allocations: 4 kB / 453.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2784, allocations: 4 kB / 453.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.2785, allocations: 0 / 453.3 MB, free: 2.082 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.002239/0.2807, allocations: 1.306 MB / 454.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2807, allocations: 11.97 kB / 454.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.281, allocations: 132.2 kB / 454.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.2823, allocations: 0.8608 MB / 455.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2824, allocations: 24.56 kB / 455.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.2824, allocations: 23.95 kB / 455.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.283, allocations: 323.5 kB / 455.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.283, allocations: 0 / 455.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.283, allocations: 4 kB / 455.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.283, allocations: 12 kB / 455.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.2834, allocations: 230.1 kB / 456.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.2853, allocations: 1.198 MB / 457.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.2857, allocations: 170.7 kB / 457.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.286, allocations: 197.2 kB / 457.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009708/0.2957, allocations: 8.878 MB / 466.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2958, allocations: 34.55 kB / 466.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/0.2958, allocations: 0 / 466.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001641/0.2974, allocations: 0.6583 MB / 467.3 MB, free: 2.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.2975, allocations: 81.11 kB / 467.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.2984, allocations: 0.8025 MB / 468.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2985, allocations: 25.7 kB / 468.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.2989, allocations: 449 kB / 468.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.2989, allocations: 83.27 kB / 468.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.299, allocations: 57.89 kB / 468.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2992, allocations: 321.9 kB / 469.1 MB, free: 496 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.2993, allocations: 68.2 kB / 469.2 MB, free: 428 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.2995, allocations: 146.4 kB / 469.3 MB, free: 248 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.2999, allocations: 224.5 kB / 469.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2999, allocations: 0 / 469.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000657/0.3006, allocations: 416.3 kB / 469.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3006, allocations: 4 kB / 469.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.3007, allocations: 16 kB / 470 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00037/0.301, allocations: 141 kB / 470.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.3012, allocations: 31.98 kB / 470.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006876/0.3019, allocations: 0.7162 MB / 470.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.3021, allocations: 23.84 kB / 470.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3022, allocations: 12 kB / 470.9 MB, free: 14.61 MB / 382.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.0003195/0.3025, allocations: 209.7 kB / 471.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.3026, allocations: 107.3 kB / 471.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007711/0.3034, allocations: 399.3 kB / 471.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3034, allocations: 0 / 471.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3034, allocations: 8 kB / 471.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3034, allocations: 0 / 471.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.304, allocations: 0.5074 MB / 472.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.3041, allocations: 15.94 kB / 472.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3042, allocations: 19.98 kB / 472.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.3045, allocations: 143.5 kB / 472.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3045, allocations: 7.938 kB / 472.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/0.3051, allocations: 0.7 MB / 473 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3051, allocations: 4.031 kB / 473 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.3057, allocations: 456.4 kB / 473.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.306, allocations: 176.4 kB / 473.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/0.306, allocations: 0 / 473.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.3063, allocations: 8 kB / 473.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.3063, allocations: 15.97 kB / 473.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.3063, allocations: 12 kB / 473.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006501/0.307, allocations: 0.5383 MB / 474.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.307, allocations: 0 / 474.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.3076, allocations: 207.6 kB / 474.4 MB, free: 10.98 MB / 382.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.000493/0.3081, allocations: 291.2 kB / 474.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.3087, allocations: 267.6 kB / 474.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3087, allocations: 0.5625 kB / 474.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.309, allocations: 175.3 kB / 475.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.3097, allocations: 168.1 kB / 475.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3117, allocations: 1.246 MB / 476.5 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.3122, allocations: 0.9374 MB / 477.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000276/0.3125, allocations: 110.7 kB / 477.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.3126, allocations: 51.44 kB / 477.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3126, allocations: 3.938 kB / 477.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of Templates: time 0.01838/0.3309, allocations: 9.361 MB / 487 MB, free: 14.38 MB / 398.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.779648229945451]