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.001423/0.001423, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001447/0.001447, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.583e-06/1.583e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.865e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006391/0.00642, allocations: 4.634 MB / 271.9 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.01779, allocations: 7.842 MB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/0.01837, allocations: 59.38 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000949/0.01932, allocations: 361.5 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.02178, allocations: 0.8764 MB / 281.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.02352, allocations: 0.6062 MB / 281.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002887/0.02641, allocations: 1.752 MB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.02666, allocations: 103.3 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006921/0.02735, allocations: 442.9 kB / 284 MB, free: 5.977 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.02774, allocations: 231.2 kB / 284.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.0278, allocations: 28 kB / 284.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.02912, allocations: 0.5618 MB / 284.8 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.02923, allocations: 107.3 kB / 284.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.02953, allocations: 223.3 kB / 285.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.03121, allocations: 1.242 MB / 286.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.03122, allocations: 4 kB / 286.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03122, allocations: 0 / 286.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.03123, allocations: 0 / 286.3 MB, free: 3.586 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.002166/0.03339, allocations: 1.226 MB / 287.6 MB, free: 2.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.03344, allocations: 12.92 kB / 287.6 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.03366, allocations: 136.2 kB / 287.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.03511, allocations: 0.8743 MB / 288.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.03513, allocations: 16.88 kB / 288.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.0352, allocations: 32.12 kB / 288.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.0358, allocations: 337.5 kB / 289 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.03581, allocations: 0 / 289 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.03585, allocations: 12 kB / 289 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.03586, allocations: 11.94 kB / 289 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.03633, allocations: 234 kB / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1276/0.1639, allocations: 1.034 MB / 290.3 MB, free: 33.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.1643, allocations: 175.9 kB / 290.4 MB, free: 33.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.1646, allocations: 201.1 kB / 290.6 MB, free: 33.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006848/0.1715, allocations: 3.294 MB / 293.9 MB, free: 32.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1715, allocations: 35.47 kB / 294 MB, free: 32.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.1715, allocations: 0 / 294 MB, free: 32.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001617/0.1731, allocations: 0.5906 MB / 294.5 MB, free: 32.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1732, allocations: 80.61 kB / 294.6 MB, free: 32.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/0.1741, allocations: 0.7834 MB / 295.4 MB, free: 32.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1741, allocations: 26.95 kB / 295.4 MB, free: 32.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.1744, allocations: 446.3 kB / 295.9 MB, free: 31.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.1744, allocations: 81.14 kB / 295.9 MB, free: 31.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.1745, allocations: 59.83 kB / 296 MB, free: 31.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.1746, allocations: 318.9 kB / 296.3 MB, free: 31.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1747, allocations: 71.55 kB / 296.4 MB, free: 31.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1749, allocations: 169.8 kB / 296.6 MB, free: 31.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.1752, allocations: 225.3 kB / 296.8 MB, free: 31.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1752, allocations: 0.9688 kB / 296.8 MB, free: 31.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006299/0.1758, allocations: 421.3 kB / 297.2 MB, free: 30.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1759, allocations: 6.094 kB / 297.2 MB, free: 30.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.1759, allocations: 15.44 kB / 297.2 MB, free: 30.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.1763, allocations: 146.2 kB / 297.4 MB, free: 30.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1765, allocations: 39.31 kB / 297.4 MB, free: 30.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005913/0.1771, allocations: 0.7074 MB / 298.1 MB, free: 30.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.1773, allocations: 25.08 kB / 298.1 MB, free: 30.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1774, allocations: 16.39 kB / 298.1 MB, free: 30.18 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.0002437/0.1776, allocations: 202.7 kB / 298.3 MB, free: 30.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.1777, allocations: 106.2 kB / 298.4 MB, free: 29.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.1785, allocations: 400.9 kB / 298.8 MB, free: 29.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1786, allocations: 6.25 kB / 298.8 MB, free: 29.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1786, allocations: 0.9375 kB / 298.8 MB, free: 29.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1786, allocations: 0.6094 kB / 298.8 MB, free: 29.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.1792, allocations: 430.5 kB / 299.3 MB, free: 29.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.1792, allocations: 17.38 kB / 299.3 MB, free: 29.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1793, allocations: 16.86 kB / 299.3 MB, free: 29.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/0.1796, allocations: 133.9 kB / 299.4 MB, free: 29.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.1797, allocations: 5.234 kB / 299.4 MB, free: 29.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004785/0.1801, allocations: 0.7138 MB / 300.1 MB, free: 28.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1801, allocations: 1.219 kB / 300.1 MB, free: 28.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.1807, allocations: 459.2 kB / 300.6 MB, free: 28.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.1808, allocations: 104.5 kB / 300.7 MB, free: 28.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.1809, allocations: 6.078 kB / 300.7 MB, free: 28.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1811, allocations: 3.312 kB / 300.7 MB, free: 28.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.1812, allocations: 17.2 kB / 300.7 MB, free: 28.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1812, allocations: 9.047 kB / 300.7 MB, free: 28.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005893/0.1818, allocations: 0.5301 MB / 301.3 MB, free: 28.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1818, allocations: 0 / 301.3 MB, free: 28.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005881/0.1824, allocations: 194.3 kB / 301.4 MB, free: 28.3 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.0005036/0.1829, allocations: 324 kB / 301.8 MB, free: 28.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.1834, allocations: 264.9 kB / 302 MB, free: 28.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1834, allocations: 0 / 302 MB, free: 28.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.1837, allocations: 172 kB / 302.2 MB, free: 27.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.1845, allocations: 164.3 kB / 302.4 MB, free: 27.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1861, allocations: 1.242 MB / 303.6 MB, free: 27.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1863, allocations: 351.4 kB / 303.9 MB, free: 27.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002633/0.1865, allocations: 112.1 kB / 304 MB, free: 27.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.1866, allocations: 50.83 kB / 304.1 MB, free: 27.03 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1866, allocations: 0 / 304.1 MB, free: 27.03 MB / 266.7 MB Notification: Performance of Templates: time 0.01351/0.2001, allocations: 8.686 MB / 312.8 MB, free: 18.85 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.553377480013296]