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.001836/0.001836, allocations: 111 kB / 21.18 MB, free: 0.668 MB / 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.002282/0.002282, allocations: 209 kB / 24.48 MB, free: 3.969 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001526/0.001526, allocations: 48.02 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2112, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005837/0.2171, allocations: 4.653 MB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2272, allocations: 7.881 MB / 444.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.2275, allocations: 59.31 kB / 444.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008144/0.2284, allocations: 357.6 kB / 445.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.2301, allocations: 0.8497 MB / 446.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.2313, allocations: 0.5948 MB / 446.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.2336, allocations: 1.733 MB / 448.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.2338, allocations: 103.3 kB / 448.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.2342, allocations: 326.6 kB / 448.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.2346, allocations: 329.9 kB / 449.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.2346, allocations: 28 kB / 449.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.2357, allocations: 0.597 MB / 449.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.2358, allocations: 103.3 kB / 449.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.2361, allocations: 306.1 kB / 450.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.2375, allocations: 1.229 MB / 451.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2376, allocations: 0 / 451.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2376, allocations: 4 kB / 451.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.2376, allocations: 0 / 451.4 MB, free: 3.547 MB / 350.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.001925/0.2395, allocations: 1.23 MB / 452.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2395, allocations: 15.97 kB / 452.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.2398, allocations: 132.2 kB / 452.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.2411, allocations: 0.7888 MB / 453.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.2412, allocations: 16.5 kB / 453.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.2412, allocations: 28 kB / 453.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.2418, allocations: 337.5 kB / 454 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2418, allocations: 0 / 454 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.2418, allocations: 8 kB / 454 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.2418, allocations: 8 kB / 454 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.2423, allocations: 234 kB / 454.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.244, allocations: 1.028 MB / 455.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.2444, allocations: 186.5 kB / 455.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.2447, allocations: 197.2 kB / 455.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006962/0.2517, allocations: 3.095 MB / 458.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2517, allocations: 30.56 kB / 458.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.2517, allocations: 4 kB / 458.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001634/0.2533, allocations: 0.5794 MB / 459.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.2534, allocations: 81.11 kB / 459.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.2544, allocations: 0.782 MB / 460.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.2544, allocations: 29.7 kB / 460.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.2548, allocations: 444.8 kB / 460.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.2548, allocations: 83.27 kB / 460.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2549, allocations: 61.94 kB / 460.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2551, allocations: 318 kB / 461.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.2552, allocations: 64.2 kB / 461.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2555, allocations: 175.5 kB / 461.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.2558, allocations: 235.9 kB / 461.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2558, allocations: 4 kB / 461.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006565/0.2565, allocations: 401.5 kB / 462 MB, free: 8.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2565, allocations: 4.281 kB / 462 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.2565, allocations: 16 kB / 462 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/0.2569, allocations: 144.7 kB / 462.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2571, allocations: 35.91 kB / 462.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007656/0.2579, allocations: 0.7073 MB / 462.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.2581, allocations: 23.84 kB / 462.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.2581, allocations: 19.98 kB / 462.9 MB, free: 7.688 MB / 366.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.0002523/0.2584, allocations: 195.8 kB / 463.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2585, allocations: 107.3 kB / 463.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00083/0.2594, allocations: 401.5 kB / 463.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2594, allocations: 7.938 kB / 463.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2594, allocations: 0 / 463.6 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2594, allocations: 3.984 kB / 463.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.26, allocations: 418.4 kB / 464 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/0.26, allocations: 11.98 kB / 464 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2601, allocations: 15.98 kB / 464 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.2604, allocations: 148.7 kB / 464.2 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.2605, allocations: 8 kB / 464.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006759/0.2611, allocations: 0.7006 MB / 464.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2611, allocations: 0 / 464.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.2618, allocations: 451.2 kB / 465.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.262, allocations: 99.3 kB / 465.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.262, allocations: 15.98 kB / 465.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2622, allocations: 4 kB / 465.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.2623, allocations: 15.98 kB / 465.5 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.2623, allocations: 11.98 kB / 465.5 MB, free: 5.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006423/0.263, allocations: 0.5261 MB / 466 MB, free: 4.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.263, allocations: 0 / 466 MB, free: 4.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005972/0.2636, allocations: 203.6 kB / 466.2 MB, free: 4.285 MB / 366.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.0005339/0.2641, allocations: 295.2 kB / 466.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006017/0.2647, allocations: 271.3 kB / 466.8 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2647, allocations: 0 / 466.8 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.265, allocations: 167.3 kB / 466.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.2658, allocations: 171.4 kB / 467.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.2676, allocations: 1.243 MB / 468.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2679, allocations: 345.3 kB / 468.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.2682, allocations: 106.7 kB / 468.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.2683, allocations: 51.44 kB / 468.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2683, allocations: 0 / 468.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of Templates: time 0.01806/0.2863, allocations: 9.923 MB / 478.8 MB, free: 7.766 MB / 382.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.463092302001314]