Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001818/0.001818, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002248/0.002248, allocations: 216.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.643/1.643, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+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_4.1.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.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3792, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.007304/0.3865, allocations: 4.647 MB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.3988, allocations: 7.873 MB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.3996, allocations: 59.31 kB / 444.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.4007, allocations: 365.5 kB / 445.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.4033, allocations: 0.8497 MB / 446.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.4051, allocations: 0.5987 MB / 446.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.4077, allocations: 1.721 MB / 448.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.408, allocations: 103.3 kB / 448.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.4085, allocations: 334.5 kB / 448.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.4088, allocations: 317.9 kB / 449.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.4089, allocations: 32 kB / 449.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.4103, allocations: 0.5971 MB / 449.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.4104, allocations: 99.38 kB / 449.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.4107, allocations: 310.1 kB / 450.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.4124, allocations: 1.229 MB / 451.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4124, allocations: 3.938 kB / 451.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4124, allocations: 3.938 kB / 451.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.4124, allocations: 0 / 451.4 MB, free: 3.543 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.002029/0.4144, allocations: 1.234 MB / 452.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4144, allocations: 12.02 kB / 452.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.4148, allocations: 132.2 kB / 452.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.4161, allocations: 0.7888 MB / 453.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4162, allocations: 16.5 kB / 453.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.35e-05/0.4162, allocations: 24 kB / 453.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.4169, allocations: 341.5 kB / 454 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4169, allocations: 4 kB / 454 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.4169, allocations: 12 kB / 454 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.417, allocations: 8 kB / 454 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.4174, allocations: 230 kB / 454.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.4192, allocations: 1.032 MB / 455.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.4196, allocations: 178.6 kB / 455.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.4199, allocations: 197.3 kB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007307/0.4272, allocations: 3.099 MB / 458.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.4272, allocations: 34.56 kB / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/0.4272, allocations: 0 / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001899/0.4291, allocations: 0.585 MB / 459.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.4292, allocations: 81.11 kB / 459.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.4304, allocations: 0.7781 MB / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.4304, allocations: 33.7 kB / 460.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.4308, allocations: 440.8 kB / 460.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.93e-05/0.4309, allocations: 83.25 kB / 460.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.431, allocations: 57.94 kB / 460.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4311, allocations: 318 kB / 461.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4313, allocations: 72.2 kB / 461.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.4315, allocations: 175.5 kB / 461.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.4319, allocations: 236.1 kB / 461.6 MB, free: 9.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4319, allocations: 3.938 kB / 461.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007417/0.4326, allocations: 400.1 kB / 462 MB, free: 8.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4326, allocations: 8 kB / 462 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.4327, allocations: 15.98 kB / 462 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.4331, allocations: 141 kB / 462.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.4333, allocations: 39.91 kB / 462.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007614/0.434, allocations: 0.6993 MB / 462.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.4343, allocations: 27.83 kB / 462.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.4343, allocations: 16.06 kB / 462.9 MB, free: 7.684 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.0003142/0.4347, allocations: 199.8 kB / 463.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.4348, allocations: 107.3 kB / 463.2 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/0.4356, allocations: 399.2 kB / 463.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4356, allocations: 11.92 kB / 463.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4356, allocations: 4 kB / 463.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4356, allocations: 0 / 463.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.4363, allocations: 422.3 kB / 464 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.4363, allocations: 12 kB / 464 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4364, allocations: 15.98 kB / 464.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/0.4367, allocations: 148.7 kB / 464.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.4368, allocations: 12 kB / 464.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007038/0.4375, allocations: 0.7006 MB / 464.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4375, allocations: 3.984 kB / 464.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.4381, allocations: 443.2 kB / 465.4 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.4383, allocations: 99.3 kB / 465.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.4384, allocations: 0 / 465.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.4386, allocations: 8 kB / 465.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.4387, allocations: 24.03 kB / 465.5 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.4387, allocations: 8 kB / 465.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006905/0.4394, allocations: 0.5261 MB / 466 MB, free: 4.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4394, allocations: 0 / 466 MB, free: 4.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.4401, allocations: 199.6 kB / 466.2 MB, free: 4.281 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.0006099/0.4407, allocations: 295.2 kB / 466.5 MB, free: 3.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.4414, allocations: 271.9 kB / 466.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4414, allocations: 0 / 466.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.4417, allocations: 167.3 kB / 466.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.4424, allocations: 170.9 kB / 467.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.4445, allocations: 1.239 MB / 468.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4449, allocations: 345.3 kB / 468.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.4452, allocations: 114.6 kB / 468.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.4453, allocations: 47.44 kB / 468.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4453, allocations: 4 kB / 468.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Templates: time 0.01936/0.4647, allocations: 9.922 MB / 478.8 MB, free: 7.758 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.554360928988899]