Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001534/0.001535, allocations: 117 kB / 18.41 MB, free: 4.664 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.001324/0.001324, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 47.92 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09094/0.09245, allocations: 49.44 MB / 408.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00615/0.09865, allocations: 5.296 MB / 413.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.1095, allocations: 9.06 MB / 422.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006084/0.1101, allocations: 39.69 kB / 422.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009803/0.1111, allocations: 397.4 kB / 422.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.1134, allocations: 0.8341 MB / 423.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.115, allocations: 0.587 MB / 424.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002523/0.1175, allocations: 1.693 MB / 426 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1178, allocations: 159.1 kB / 426.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.1182, allocations: 306.6 kB / 426.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.1186, allocations: 321.9 kB / 426.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.1187, allocations: 28 kB / 426.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.1201, allocations: 0.6516 MB / 427.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1202, allocations: 107.3 kB / 427.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.1206, allocations: 405.5 kB / 427.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.1221, allocations: 1.194 MB / 429.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1221, allocations: 0 / 429.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1222, allocations: 0 / 429.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1222, allocations: 3.984 kB / 429.1 MB, free: 1.738 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.00191/0.1241, allocations: 1.309 MB / 430.4 MB, free: 384 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1241, allocations: 12.03 kB / 430.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.1243, allocations: 116.2 kB / 430.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1857/0.31, allocations: 0.8636 MB / 431.4 MB, free: 23.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3101, allocations: 17.16 kB / 431.4 MB, free: 23.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.3102, allocations: 23.69 kB / 431.5 MB, free: 23.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.3107, allocations: 310.6 kB / 431.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3107, allocations: 0 / 431.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.3108, allocations: 7.625 kB / 431.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.3108, allocations: 9.797 kB / 431.8 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.3112, allocations: 244.5 kB / 432 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.3129, allocations: 1.175 MB / 433.2 MB, free: 23.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.3133, allocations: 199.7 kB / 433.4 MB, free: 23.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.3136, allocations: 226.4 kB / 433.6 MB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008126/0.3217, allocations: 8.567 MB / 442.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3218, allocations: 36.28 kB / 442.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.3218, allocations: 0 / 442.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001684/0.3235, allocations: 0.6623 MB / 442.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3236, allocations: 83 kB / 443 MB, free: 15.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.3246, allocations: 0.7975 MB / 443.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3247, allocations: 30.95 kB / 443.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.325, allocations: 448.8 kB / 444.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.3251, allocations: 88.03 kB / 444.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.3252, allocations: 55.45 kB / 444.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.3253, allocations: 315.5 kB / 444.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3254, allocations: 69.27 kB / 444.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3256, allocations: 152.5 kB / 444.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.326, allocations: 228.5 kB / 445.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.326, allocations: 0 / 445.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006669/0.3267, allocations: 415.2 kB / 445.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3267, allocations: 5.812 kB / 445.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/0.3267, allocations: 14.59 kB / 445.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.3272, allocations: 141.8 kB / 445.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3274, allocations: 39.89 kB / 445.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005734/0.3279, allocations: 0.7105 MB / 446.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.3282, allocations: 25.16 kB / 446.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.3283, allocations: 16.95 kB / 446.5 MB, free: 14.07 MB / 350.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.0001988/0.3285, allocations: 198.7 kB / 446.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3286, allocations: 112.7 kB / 446.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.3294, allocations: 405.3 kB / 447.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3294, allocations: 3.094 kB / 447.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3294, allocations: 8.688 kB / 447.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3294, allocations: 2.766 kB / 447.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.33, allocations: 0.5141 MB / 447.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.3301, allocations: 11.56 kB / 447.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3302, allocations: 18.42 kB / 447.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.3305, allocations: 138 kB / 447.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3305, allocations: 10.17 kB / 447.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004551/0.3309, allocations: 0.702 MB / 448.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.331, allocations: 6.938 kB / 448.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.3315, allocations: 451.8 kB / 449 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.3317, allocations: 181.4 kB / 449.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.3318, allocations: 8.969 kB / 449.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.332, allocations: 3.188 kB / 449.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.332, allocations: 16.39 kB / 449.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3321, allocations: 11.84 kB / 449.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006564/0.3327, allocations: 0.5418 MB / 449.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3327, allocations: 0 / 449.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.3334, allocations: 199.7 kB / 450 MB, free: 12.59 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.0005304/0.3339, allocations: 304.5 kB / 450.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.3346, allocations: 281.8 kB / 450.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3346, allocations: 0 / 450.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.3349, allocations: 181.6 kB / 450.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.3357, allocations: 157.5 kB / 450.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.3376, allocations: 1.278 MB / 452.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.338, allocations: 0.9384 MB / 453.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3381, allocations: 51.53 kB / 453.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3382, allocations: 4.875 kB / 453.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Templates: time 0.02234/0.3605, allocations: 14.41 MB / 467.6 MB, free: 3.617 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.993504318990745]