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.001785/0.001785, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001862/0.001862, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.375/1.375, allocations: 230.5 MB / 258.1 MB, free: 8.141 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.001913/0.001913, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2493, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006479/0.2558, allocations: 5.324 MB / 437.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.2675, allocations: 9.171 MB / 446.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.2682, allocations: 35.69 kB / 446.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2693, allocations: 397.4 kB / 447 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.2718, allocations: 0.8458 MB / 447.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.2735, allocations: 0.5987 MB / 448.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.2764, allocations: 1.72 MB / 450.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.2768, allocations: 107 kB / 450.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005728/0.2773, allocations: 306.6 kB / 450.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.2779, allocations: 329.9 kB / 450.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.761e-05/0.278, allocations: 32 kB / 450.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.2796, allocations: 0.6555 MB / 451.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2797, allocations: 111.3 kB / 451.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.2802, allocations: 401.5 kB / 452 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.2819, allocations: 1.218 MB / 453.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2819, allocations: 4 kB / 453.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2819, allocations: 0 / 453.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.2819, allocations: 7.938 kB / 453.3 MB, free: 2.078 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.002169/0.2841, allocations: 1.306 MB / 454.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2842, allocations: 8.031 kB / 454.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.2845, allocations: 132.2 kB / 454.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.2857, allocations: 0.8609 MB / 455.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.2858, allocations: 16.5 kB / 455.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.2858, allocations: 27.95 kB / 455.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.2863, allocations: 307.6 kB / 455.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.2864, allocations: 7.922 kB / 455.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2864, allocations: 15.98 kB / 455.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.2864, allocations: 12 kB / 455.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.2868, allocations: 234.1 kB / 456.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.2887, allocations: 1.194 MB / 457.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.289, allocations: 174.7 kB / 457.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.2893, allocations: 197.2 kB / 457.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009583/0.2989, allocations: 8.874 MB / 466.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2989, allocations: 30.56 kB / 466.6 MB, free: 3.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.375e-06/0.2989, allocations: 3.938 kB / 466.6 MB, free: 3.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001634/0.3006, allocations: 0.6505 MB / 467.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.3007, allocations: 89.03 kB / 467.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3017, allocations: 0.8065 MB / 468.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3017, allocations: 25.7 kB / 468.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.3021, allocations: 449 kB / 468.6 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.3022, allocations: 79.28 kB / 468.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.3023, allocations: 57.89 kB / 468.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3024, allocations: 321.9 kB / 469.1 MB, free: 496 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3026, allocations: 64.2 kB / 469.2 MB, free: 432 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.3028, allocations: 146.4 kB / 469.3 MB, free: 252 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.3032, allocations: 228.5 kB / 469.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3032, allocations: 4 kB / 469.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000721/0.3039, allocations: 417.4 kB / 469.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3039, allocations: 4 kB / 469.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/0.304, allocations: 16 kB / 470 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.3044, allocations: 141 kB / 470.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.3045, allocations: 35.91 kB / 470.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006975/0.3052, allocations: 0.7045 MB / 470.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.3055, allocations: 27.88 kB / 470.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.3055, allocations: 20.06 kB / 470.9 MB, free: 14.6 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.0002508/0.3058, allocations: 197.7 kB / 471.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3059, allocations: 107.3 kB / 471.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007795/0.3067, allocations: 402.2 kB / 471.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3067, allocations: 0 / 471.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3067, allocations: 3.938 kB / 471.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3067, allocations: 0 / 471.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.3073, allocations: 0.519 MB / 472.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/0.3074, allocations: 12 kB / 472.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3075, allocations: 15.98 kB / 472.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.3078, allocations: 141.6 kB / 472.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3078, allocations: 7.938 kB / 472.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006367/0.3084, allocations: 0.6989 MB / 473 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3084, allocations: 3.938 kB / 473 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.309, allocations: 460.4 kB / 473.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.3093, allocations: 180.4 kB / 473.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.3093, allocations: 0 / 473.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.3096, allocations: 8 kB / 473.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.3096, allocations: 11.98 kB / 473.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.3096, allocations: 12 kB / 473.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006665/0.3103, allocations: 0.5461 MB / 474.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3103, allocations: 0 / 474.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000596/0.3109, allocations: 195.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.000536/0.3114, allocations: 299.2 kB / 474.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006153/0.312, allocations: 272.1 kB / 474.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3121, allocations: 4 kB / 474.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.3124, allocations: 171.3 kB / 475.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.3131, allocations: 160.1 kB / 475.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3152, allocations: 1.286 MB / 476.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.3158, allocations: 0.9452 MB / 477.5 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.3159, allocations: 51.44 kB / 477.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3159, allocations: 0 / 477.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of Templates: time 0.01951/0.3354, allocations: 14.49 MB / 492 MB, free: 9.254 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 -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: 7.60679332818836]