Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001455/0.001455, allocations: 88.31 kB / 21.44 MB, free: 276 kB / 14.72 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.001459/0.001459, allocations: 163.3 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.644e-05, allocations: 10.22 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006459/0.006485, allocations: 4.515 MB / 303.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.0176, allocations: 7.493 MB / 310.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.01828, allocations: 59.38 kB / 311 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.01928, allocations: 353.5 kB / 311.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.02178, allocations: 0.853 MB / 312.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.02341, allocations: 0.5906 MB / 312.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003061/0.02647, allocations: 1.709 MB / 314.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.02675, allocations: 99.31 kB / 314.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006389/0.02739, allocations: 430.8 kB / 315 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.02777, allocations: 215.2 kB / 315.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.021e-05/0.02784, allocations: 28 kB / 315.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.02902, allocations: 0.5386 MB / 315.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.02912, allocations: 107.3 kB / 315.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.02942, allocations: 227.2 kB / 316.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.03101, allocations: 1.238 MB / 317.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.03101, allocations: 0 / 317.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.03101, allocations: 0 / 317.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.906e-05/0.03104, allocations: 0 / 317.4 MB, free: 6.211 MB / 302.1 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.002095/0.03314, allocations: 1.226 MB / 318.6 MB, free: 4.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.03318, allocations: 11.98 kB / 318.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.03334, allocations: 124.2 kB / 318.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.03472, allocations: 0.7805 MB / 319.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.03474, allocations: 20.44 kB / 319.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.0348, allocations: 24 kB / 319.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.0354, allocations: 329.5 kB / 319.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.03541, allocations: 4 kB / 319.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.03545, allocations: 11.98 kB / 319.9 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.03546, allocations: 12 kB / 319.9 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.03594, allocations: 237.9 kB / 320.1 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.03786, allocations: 1.033 MB / 321.2 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.03826, allocations: 182.5 kB / 321.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.0386, allocations: 197.2 kB / 321.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.131/0.1696, allocations: 3.065 MB / 324.6 MB, free: 34.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1696, allocations: 35.05 kB / 324.6 MB, free: 34.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.024e-06/0.1696, allocations: 0 / 324.6 MB, free: 34.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001551/0.1712, allocations: 0.5776 MB / 325.2 MB, free: 34.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.1712, allocations: 79.11 kB / 325.3 MB, free: 34.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009335/0.1721, allocations: 0.7868 MB / 326.1 MB, free: 34.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1721, allocations: 38.16 kB / 326.1 MB, free: 34.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.1724, allocations: 440.1 kB / 326.5 MB, free: 33.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.1725, allocations: 84.88 kB / 326.6 MB, free: 33.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.1726, allocations: 56.33 kB / 326.7 MB, free: 33.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.1726, allocations: 316.1 kB / 327 MB, free: 33.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1728, allocations: 64.55 kB / 327 MB, free: 33.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.1729, allocations: 177.8 kB / 327.2 MB, free: 33.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.1732, allocations: 230.7 kB / 327.4 MB, free: 33.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1732, allocations: 1.375 kB / 327.4 MB, free: 33.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005376/0.1738, allocations: 406.5 kB / 327.8 MB, free: 33.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1738, allocations: 5.781 kB / 327.8 MB, free: 33.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.1738, allocations: 16.33 kB / 327.9 MB, free: 33.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/0.1742, allocations: 137.7 kB / 328 MB, free: 33.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.1744, allocations: 37.97 kB / 328 MB, free: 33.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005427/0.1749, allocations: 0.7079 MB / 328.7 MB, free: 32.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1752, allocations: 22.39 kB / 328.8 MB, free: 32.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.1752, allocations: 17.41 kB / 328.8 MB, free: 32.41 MB / 302.1 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.0002069/0.1754, allocations: 199.3 kB / 329 MB, free: 32.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1755, allocations: 106.6 kB / 329.1 MB, free: 32.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.1763, allocations: 403.3 kB / 329.5 MB, free: 32.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1763, allocations: 6.688 kB / 329.5 MB, free: 32.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1763, allocations: 0 / 329.5 MB, free: 32.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1763, allocations: 2.734 kB / 329.5 MB, free: 32.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.1768, allocations: 424.7 kB / 329.9 MB, free: 31.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.1768, allocations: 19.58 kB / 329.9 MB, free: 31.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.177, allocations: 18.3 kB / 329.9 MB, free: 31.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.1772, allocations: 140.6 kB / 330.1 MB, free: 31.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.1773, allocations: 10.16 kB / 330.1 MB, free: 31.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004763/0.1777, allocations: 0.7039 MB / 330.8 MB, free: 31.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1777, allocations: 0.6094 kB / 330.8 MB, free: 31.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.1783, allocations: 449.5 kB / 331.2 MB, free: 30.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.1784, allocations: 106.2 kB / 331.3 MB, free: 30.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.1785, allocations: 1.281 kB / 331.3 MB, free: 30.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.1787, allocations: 9.297 kB / 331.3 MB, free: 30.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1787, allocations: 12.77 kB / 331.4 MB, free: 30.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1788, allocations: 13.69 kB / 331.4 MB, free: 30.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006355/0.1794, allocations: 0.5268 MB / 331.9 MB, free: 30.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 331.9 MB, free: 30.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006681/0.1801, allocations: 199 kB / 332.1 MB, free: 30.57 MB / 302.1 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.0005486/0.1806, allocations: 321.3 kB / 332.4 MB, free: 30.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.1812, allocations: 262.8 kB / 332.7 MB, free: 30.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1812, allocations: 0 / 332.7 MB, free: 30.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.1815, allocations: 168.4 kB / 332.8 MB, free: 30.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.1821, allocations: 147.3 kB / 333 MB, free: 30.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.184, allocations: 1.205 MB / 334.2 MB, free: 29.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1843, allocations: 347.9 kB / 334.5 MB, free: 29.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.1847, allocations: 108.9 kB / 334.6 MB, free: 29.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/0.1847, allocations: 50.52 kB / 334.7 MB, free: 29.36 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1847, allocations: 0 / 334.7 MB, free: 29.36 MB / 302.1 MB Notification: Performance of Templates: time 0.01508/0.1998, allocations: 8.611 MB / 343.3 MB, free: 25.5 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.509013023227453]