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.0009973/0.0009973, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001593/0.001593, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.9456/0.9456, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.604e-05, allocations: 2.312 kB / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.004069/0.004095, allocations: 5.13 MB / 278.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007249/0.01134, allocations: 8.653 MB / 286.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004807/0.01182, allocations: 59.31 kB / 286.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.01252, allocations: 373.4 kB / 287.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.01417, allocations: 0.8688 MB / 288.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.01526, allocations: 0.614 MB / 288.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.01705, allocations: 1.771 MB / 290.5 MB, free: 320 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.01729, allocations: 100.2 kB / 290.6 MB, free: 208 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1148/0.1321, allocations: 449.1 kB / 291 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004986/0.1326, allocations: 226.2 kB / 291.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.1327, allocations: 29.94 kB / 291.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.1342, allocations: 0.5839 MB / 291.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.1343, allocations: 104.9 kB / 292 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.1346, allocations: 229 kB / 292.2 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.1363, allocations: 0.9588 MB / 293.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1363, allocations: 0 / 293.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1363, allocations: 0 / 293.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.1364, allocations: 0.625 kB / 293.2 MB, free: 16.14 MB / 266.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.001936/0.1383, allocations: 1.359 MB / 294.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1383, allocations: 9.531 kB / 294.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.1387, allocations: 146.8 kB / 294.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.1398, allocations: 0.8904 MB / 295.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.1398, allocations: 19.44 kB / 295.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.1399, allocations: 25.66 kB / 295.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.1403, allocations: 278.4 kB / 295.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1403, allocations: 0 / 295.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1403, allocations: 11 kB / 295.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.1404, allocations: 8.031 kB / 295.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.1406, allocations: 137.1 kB / 296 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.1421, allocations: 1.102 MB / 297.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1424, allocations: 134.6 kB / 297.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1426, allocations: 166.8 kB / 297.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004933/0.1475, allocations: 3.358 MB / 300.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1476, allocations: 40.48 kB / 300.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.264e-06/0.1476, allocations: 0 / 300.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009787/0.1485, allocations: 0.5205 MB / 301.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1486, allocations: 79.86 kB / 301.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.1493, allocations: 0.869 MB / 302.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1493, allocations: 30.42 kB / 302.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.1496, allocations: 0.5031 MB / 302.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.1496, allocations: 86.78 kB / 302.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.1497, allocations: 66.48 kB / 303 MB, free: 12.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.1497, allocations: 498.1 kB / 303.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.1498, allocations: 48.39 kB / 303.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.1499, allocations: 173.3 kB / 303.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1501, allocations: 202.9 kB / 303.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1501, allocations: 32 / 303.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003766/0.1505, allocations: 357 kB / 304.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1505, allocations: 10.19 kB / 304.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.1505, allocations: 22.31 kB / 304.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.1508, allocations: 140.9 kB / 304.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1509, allocations: 35.62 kB / 304.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003679/0.1513, allocations: 0.9283 MB / 305.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1515, allocations: 29.25 kB / 305.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.1515, allocations: 13.22 kB / 305.4 MB, free: 10.87 MB / 266.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.0001173/0.1516, allocations: 172.9 kB / 305.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.1517, allocations: 115.7 kB / 305.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.1521, allocations: 335.5 kB / 306 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1521, allocations: 3.906 kB / 306 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1521, allocations: 0 / 306 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1521, allocations: 3.75 kB / 306 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.1525, allocations: 489.5 kB / 306.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.1525, allocations: 17.97 kB / 306.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.1526, allocations: 19.17 kB / 306.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/0.1527, allocations: 129.8 kB / 306.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1528, allocations: 7.938 kB / 306.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002861/0.153, allocations: 0.9204 MB / 307.6 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.153, allocations: 3.938 kB / 307.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1533, allocations: 457.7 kB / 308 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.1534, allocations: 99.64 kB / 308.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.1535, allocations: 11.16 kB / 308.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1536, allocations: 0.875 kB / 308.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1536, allocations: 21.62 kB / 308.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1536, allocations: 7.156 kB / 308.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.1539, allocations: 0.5135 MB / 308.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1539, allocations: 4.031 kB / 308.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004806/0.1544, allocations: 205.7 kB / 308.9 MB, free: 8.691 MB / 266.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.0003896/0.1548, allocations: 327.1 kB / 309.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.1551, allocations: 227.6 kB / 309.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1551, allocations: 0 / 309.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1553, allocations: 163.9 kB / 309.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.1557, allocations: 172.9 kB / 309.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1569, allocations: 1.16 MB / 310.9 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.1569, allocations: 150.8 kB / 311.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.1572, allocations: 105.3 kB / 311.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1572, allocations: 49.03 kB / 311.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of SimCode: time 1.754e-06/0.1572, allocations: 4 kB / 311.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of Templates: time 0.01074/0.1679, allocations: 8.793 MB / 320 MB, free: 72 kB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.017554533900693]