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.0007999/0.0007999, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003779/0.003779, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8662/0.8662, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.512e-06/1.512e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.344e-05, allocations: 6.219 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005305/0.005328, allocations: 4.65 MB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.01378, allocations: 7.886 MB / 338.4 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.01422, allocations: 55.38 kB / 338.4 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.01489, allocations: 353.6 kB / 338.8 MB, free: 2.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.01638, allocations: 0.8804 MB / 339.6 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.01736, allocations: 0.6023 MB / 340.2 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.01886, allocations: 1.775 MB / 342 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.01905, allocations: 107.3 kB / 342.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.01942, allocations: 458.8 kB / 342.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.01965, allocations: 231.1 kB / 342.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.01969, allocations: 28 kB / 342.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.02041, allocations: 0.5852 MB / 343.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.02048, allocations: 103.3 kB / 343.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.02063, allocations: 227.4 kB / 343.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009789/0.02161, allocations: 1.254 MB / 345 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.02161, allocations: 0 / 345 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02162, allocations: 0 / 345 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.02163, allocations: 3.938 kB / 345 MB, free: 12.16 MB / 314.7 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.0012/0.02283, allocations: 1.222 MB / 346.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.02287, allocations: 12.03 kB / 346.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.02307, allocations: 136.2 kB / 346.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.02384, allocations: 0.7767 MB / 347.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.02386, allocations: 16.88 kB / 347.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.0239, allocations: 32.08 kB / 347.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.02427, allocations: 341.5 kB / 347.5 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.02429, allocations: 4 kB / 347.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.02431, allocations: 12 kB / 347.5 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.02432, allocations: 7.984 kB / 347.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.0246, allocations: 238 kB / 347.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.02564, allocations: 1.029 MB / 348.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.0259, allocations: 178.7 kB / 349 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.02609, allocations: 189.5 kB / 349.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003567/0.02966, allocations: 3.106 MB / 352.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.02968, allocations: 46.5 kB / 352.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.02968, allocations: 0 / 352.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009826/0.03066, allocations: 0.575 MB / 352.9 MB, free: 4.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.03071, allocations: 85.11 kB / 353 MB, free: 3.934 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.03126, allocations: 0.7859 MB / 353.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.03128, allocations: 29.7 kB / 353.8 MB, free: 3.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.03151, allocations: 440.8 kB / 354.2 MB, free: 2.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.03156, allocations: 79.28 kB / 354.3 MB, free: 2.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.03162, allocations: 53.94 kB / 354.3 MB, free: 2.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.0317, allocations: 322 kB / 354.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.03178, allocations: 64.2 kB / 354.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.03191, allocations: 167.6 kB / 354.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.03212, allocations: 239.4 kB / 355.1 MB, free: 1.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.03213, allocations: 4 kB / 355.1 MB, free: 1.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003723/0.0325, allocations: 401.5 kB / 355.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.03251, allocations: 8 kB / 355.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.03253, allocations: 15.98 kB / 355.5 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.03278, allocations: 137.1 kB / 355.7 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.03287, allocations: 39.91 kB / 355.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000431/0.0333, allocations: 0.6998 MB / 356.4 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.03342, allocations: 27.83 kB / 356.4 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.03344, allocations: 16 kB / 356.5 MB, free: 312 kB / 314.7 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.0001754/0.03362, allocations: 201.7 kB / 356.7 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.0337, allocations: 107.5 kB / 356.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.03416, allocations: 399.2 kB / 357.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.03416, allocations: 11.92 kB / 357.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.03417, allocations: 0 / 357.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.03417, allocations: 3.938 kB / 357.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.03451, allocations: 422.3 kB / 357.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.03452, allocations: 16 kB / 357.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.03457, allocations: 19.98 kB / 357.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.03474, allocations: 132.8 kB / 357.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.03475, allocations: 12 kB / 357.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003791/0.03513, allocations: 0.7084 MB / 358.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.03513, allocations: 3.984 kB / 358.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.03547, allocations: 446.4 kB / 358.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.03557, allocations: 99.23 kB / 359 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.03561, allocations: 4 kB / 359 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.03571, allocations: 8 kB / 359 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.03575, allocations: 15.97 kB / 359 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.03576, allocations: 12 kB / 359 MB, free: 13.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000384/0.03615, allocations: 0.5261 MB / 359.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03615, allocations: 8 kB / 359.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000348/0.0365, allocations: 195.7 kB / 359.8 MB, free: 12.89 MB / 330.7 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.000393/0.03689, allocations: 319.2 kB / 360.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.03728, allocations: 267.4 kB / 360.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.03728, allocations: 0.5625 kB / 360.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.03743, allocations: 171.3 kB / 360.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.03787, allocations: 156.2 kB / 360.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.03909, allocations: 1.247 MB / 361.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.03928, allocations: 349.3 kB / 362.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.03933, allocations: 48.5 kB / 362.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03933, allocations: 0 / 362.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of Templates: time 0.01143/0.05076, allocations: 14.87 MB / 377.2 MB, free: 11.43 MB / 346.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/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: 4.733276789076626]