Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009056/0.0009056, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 157.9 kB / 24.99 MB, free: 8.246 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.964/0.964, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.84e-05, allocations: 6.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006271/0.006299, allocations: 5.121 MB / 278.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.0165, allocations: 8.657 MB / 286.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.01706, allocations: 59.38 kB / 286.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009766/0.01803, allocations: 369.5 kB / 287.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.02015, allocations: 0.8687 MB / 288 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.02157, allocations: 0.6063 MB / 288.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.02385, allocations: 1.783 MB / 290.4 MB, free: 208 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.0241, allocations: 95.95 kB / 290.5 MB, free: 100 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1372/0.1613, allocations: 457.8 kB / 291 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.1616, allocations: 228.5 kB / 291.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.1616, allocations: 29.75 kB / 291.2 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.1629, allocations: 0.5801 MB / 291.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.163, allocations: 105.6 kB / 291.9 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.1632, allocations: 228 kB / 292.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1643, allocations: 0.9591 MB / 293.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1643, allocations: 1 kB / 293.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1643, allocations: 0.5 kB / 293.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1643, allocations: 0 / 293.1 MB, free: 16.07 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.001305/0.1656, allocations: 1.358 MB / 294.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1656, allocations: 13.55 kB / 294.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.1658, allocations: 145.6 kB / 294.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/0.1667, allocations: 0.8891 MB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1667, allocations: 19.62 kB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.1667, allocations: 28.59 kB / 295.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.1671, allocations: 277.7 kB / 295.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1671, allocations: 1.125 kB / 295.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1671, allocations: 9.844 kB / 295.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1671, allocations: 7.766 kB / 295.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.1673, allocations: 143.6 kB / 296 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1684, allocations: 1.098 MB / 297.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.1686, allocations: 138 kB / 297.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.1688, allocations: 160.7 kB / 297.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003871/0.1727, allocations: 3.361 MB / 300.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1727, allocations: 38.58 kB / 300.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.1727, allocations: 2.5 kB / 300.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009024/0.1736, allocations: 0.5179 MB / 301.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.1736, allocations: 79.86 kB / 301.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.1742, allocations: 0.8712 MB / 302.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1742, allocations: 26.89 kB / 302.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.1745, allocations: 0.5104 MB / 302.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.1745, allocations: 79.16 kB / 302.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.1746, allocations: 69.33 kB / 302.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.1746, allocations: 495.3 kB / 303.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.1747, allocations: 46.38 kB / 303.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.1748, allocations: 175.3 kB / 303.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1749, allocations: 202.5 kB / 303.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1749, allocations: 0 / 303.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003087/0.1752, allocations: 362.9 kB / 304.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1752, allocations: 9.844 kB / 304.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.1753, allocations: 18.94 kB / 304.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.1755, allocations: 134.8 kB / 304.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.1756, allocations: 35.08 kB / 304.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003268/0.1759, allocations: 0.9267 MB / 305.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.176, allocations: 28.06 kB / 305.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.1761, allocations: 17.38 kB / 305.3 MB, free: 10.76 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.0001039/0.1762, allocations: 167 kB / 305.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.1763, allocations: 115.3 kB / 305.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.1766, allocations: 354 kB / 306 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1766, allocations: 0.7031 kB / 306 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1766, allocations: 0 / 306 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1766, allocations: 0 / 306 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.177, allocations: 493.8 kB / 306.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.177, allocations: 15.03 kB / 306.4 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.1771, allocations: 16.41 kB / 306.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.1772, allocations: 127.1 kB / 306.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1772, allocations: 10.56 kB / 306.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002647/0.1775, allocations: 0.9218 MB / 307.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1775, allocations: 4.562 kB / 307.5 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1778, allocations: 451.6 kB / 308 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.1778, allocations: 103.3 kB / 308.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.1779, allocations: 11.47 kB / 308.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.178, allocations: 0 / 308.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.178, allocations: 17.19 kB / 308.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.178, allocations: 15.12 kB / 308.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003043/0.1784, allocations: 0.5181 MB / 308.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1784, allocations: 0 / 308.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.1787, allocations: 205.1 kB / 308.8 MB, free: 8.586 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.0003489/0.179, allocations: 318.3 kB / 309.1 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1794, allocations: 235.7 kB / 309.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1794, allocations: 2.375 kB / 309.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1795, allocations: 162.7 kB / 309.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.18, allocations: 165.3 kB / 309.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.181, allocations: 1.165 MB / 310.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.106e-05/0.1811, allocations: 143.8 kB / 311 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.1812, allocations: 107.1 kB / 311.1 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1813, allocations: 49.12 kB / 311.1 MB, free: 7.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1813, allocations: 0 / 311.1 MB, free: 7.43 MB / 266.7 MB Notification: Performance of Templates: time 0.01011/0.1914, allocations: 8.791 MB / 319.9 MB, free: 15.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9739362350665033]