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.0009873/0.0009873, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001056/0.001056, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9791/0.9791, allocations: 177.1 MB / 205 MB, free: 5.633 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 2.234e-06/2.234e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.478e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006458/0.006493, allocations: 5.141 MB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.01771, allocations: 8.684 MB / 286.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.01837, allocations: 55.38 kB / 286.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009938/0.01937, allocations: 357.5 kB / 287.2 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.02192, allocations: 0.8843 MB / 288.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.02376, allocations: 0.6101 MB / 288.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1323/0.156, allocations: 1.805 MB / 290.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.1564, allocations: 97.81 kB / 290.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1575, allocations: 454.8 kB / 291 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.1578, allocations: 228 kB / 291.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.1579, allocations: 33.78 kB / 291.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1592, allocations: 0.5829 MB / 291.9 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.1593, allocations: 101.5 kB / 292 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1595, allocations: 232.9 kB / 292.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1607, allocations: 0.9507 MB / 293.1 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1607, allocations: 1.969 kB / 293.1 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1607, allocations: 0 / 293.1 MB, free: 16.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1607, allocations: 1.125 kB / 293.1 MB, free: 16.09 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.001274/0.162, allocations: 1.36 MB / 294.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.162, allocations: 10.66 kB / 294.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.1623, allocations: 146.2 kB / 294.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.1632, allocations: 0.8875 MB / 295.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1632, allocations: 17.66 kB / 295.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.1633, allocations: 28.81 kB / 295.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.1637, allocations: 278.9 kB / 295.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1637, allocations: 0 / 295.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1637, allocations: 11.41 kB / 295.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1637, allocations: 9.891 kB / 295.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1639, allocations: 135.8 kB / 296 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1652, allocations: 1.104 MB / 297.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1654, allocations: 131.3 kB / 297.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.1656, allocations: 168.2 kB / 297.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004182/0.1698, allocations: 3.361 MB / 300.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1698, allocations: 38.52 kB / 300.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.1698, allocations: 0 / 300.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009089/0.1707, allocations: 0.5202 MB / 301.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.1707, allocations: 82 kB / 301.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.1713, allocations: 0.8706 MB / 302.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1714, allocations: 29.7 kB / 302.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1716, allocations: 0.5074 MB / 302.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1716, allocations: 86.78 kB / 302.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.1717, allocations: 69.16 kB / 303 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.1717, allocations: 495.1 kB / 303.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.1718, allocations: 37.2 kB / 303.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.1719, allocations: 174.8 kB / 303.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1721, allocations: 207.4 kB / 303.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1721, allocations: 1.891 kB / 303.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003113/0.1724, allocations: 359.7 kB / 304.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1724, allocations: 14.72 kB / 304.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.1724, allocations: 13.47 kB / 304.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.1727, allocations: 132.7 kB / 304.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.1727, allocations: 30.81 kB / 304.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003439/0.1731, allocations: 0.9339 MB / 305.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1732, allocations: 26.69 kB / 305.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.1732, allocations: 17.22 kB / 305.4 MB, free: 10.71 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.0001065/0.1733, allocations: 171.6 kB / 305.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.1734, allocations: 110.4 kB / 305.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.1738, allocations: 347.7 kB / 306 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1738, allocations: 0 / 306 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1738, allocations: 6.75 kB / 306 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1738, allocations: 0.5469 kB / 306 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.1742, allocations: 488.5 kB / 306.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.1742, allocations: 14.5 kB / 306.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.1743, allocations: 19.48 kB / 306.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00016/0.1744, allocations: 127.8 kB / 306.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1744, allocations: 9.875 kB / 306.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002725/0.1747, allocations: 0.919 MB / 307.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1747, allocations: 3.938 kB / 307.6 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.175, allocations: 454.8 kB / 308 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.1751, allocations: 104.4 kB / 308.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.1751, allocations: 10.83 kB / 308.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1752, allocations: 7.375 kB / 308.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.1753, allocations: 13.06 kB / 308.1 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1753, allocations: 12.55 kB / 308.2 MB, free: 8.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003375/0.1756, allocations: 0.5137 MB / 308.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1756, allocations: 0 / 308.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.176, allocations: 205.6 kB / 308.9 MB, free: 8.547 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.0004275/0.1765, allocations: 321.7 kB / 309.2 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.1768, allocations: 234.1 kB / 309.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1768, allocations: 0 / 309.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1769, allocations: 165 kB / 309.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.1774, allocations: 166.9 kB / 309.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1785, allocations: 1.173 MB / 310.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/0.1786, allocations: 145.4 kB / 311.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1787, allocations: 107.3 kB / 311.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.1788, allocations: 50.03 kB / 311.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1788, allocations: 0 / 311.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of Templates: time 0.0109/0.1897, allocations: 8.798 MB / 320 MB, free: 15.73 MB / 282.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.1930727059952915]