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.00189/0.00189, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.002257/0.002257, allocations: 211.5 kB / 24.48 MB, free: 3.977 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.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.001532/0.001532, allocations: 51.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2363, allocations: 53.36 MB / 432.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006017/0.2423, allocations: 4.642 MB / 437 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.2526, allocations: 7.877 MB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005786/0.2532, allocations: 63.25 kB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.2541, allocations: 361.6 kB / 445.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.2564, allocations: 0.8496 MB / 446.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.258, allocations: 0.5987 MB / 446.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002658/0.2606, allocations: 1.729 MB / 448.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.2609, allocations: 107.3 kB / 448.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.2613, allocations: 322.6 kB / 448.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.2618, allocations: 333.9 kB / 449.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.2618, allocations: 28 kB / 449.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.2631, allocations: 0.597 MB / 449.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.2632, allocations: 95.39 kB / 449.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.2635, allocations: 314.1 kB / 450.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.265, allocations: 1.229 MB / 451.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.265, allocations: 0 / 451.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.239e-05/0.265, allocations: 4 kB / 451.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.2651, allocations: 0 / 451.4 MB, free: 3.562 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.267, allocations: 1.234 MB / 452.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.267, allocations: 8.031 kB / 452.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.2673, allocations: 140.2 kB / 452.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.2686, allocations: 0.7926 MB / 453.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2687, allocations: 12.5 kB / 453.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.2687, allocations: 28 kB / 453.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.2693, allocations: 333.5 kB / 454 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2693, allocations: 0 / 454 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.2693, allocations: 8 kB / 454 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2693, allocations: 15.98 kB / 454 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.2698, allocations: 230 kB / 454.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.2715, allocations: 1.028 MB / 455.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.2719, allocations: 178.5 kB / 455.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.2722, allocations: 205.3 kB / 455.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006843/0.279, allocations: 3.091 MB / 458.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2791, allocations: 34.55 kB / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.824e-06/0.2791, allocations: 0 / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001599/0.2807, allocations: 0.5834 MB / 459.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.2807, allocations: 81.11 kB / 459.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.2817, allocations: 0.782 MB / 460.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.2817, allocations: 29.7 kB / 460.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.2821, allocations: 444.8 kB / 460.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.2821, allocations: 79.28 kB / 460.7 MB, free: 10 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.2822, allocations: 65.92 kB / 460.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2824, allocations: 310 kB / 461.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2825, allocations: 72.2 kB / 461.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2827, allocations: 175.5 kB / 461.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.2831, allocations: 232.1 kB / 461.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2831, allocations: 3.938 kB / 461.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006238/0.2837, allocations: 405.5 kB / 462 MB, free: 8.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2837, allocations: 8.281 kB / 462 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.2838, allocations: 16 kB / 462 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.2841, allocations: 147 kB / 462.1 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2843, allocations: 35.98 kB / 462.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006888/0.285, allocations: 0.7085 MB / 462.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.2853, allocations: 23.84 kB / 462.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.2853, allocations: 12 kB / 462.9 MB, free: 7.703 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.0002368/0.2855, allocations: 193.8 kB / 463.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.2857, allocations: 111.3 kB / 463.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007749/0.2864, allocations: 403.3 kB / 463.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2864, allocations: 7.938 kB / 463.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2865, allocations: 0 / 463.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2865, allocations: 0 / 463.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.287, allocations: 422.3 kB / 464 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.287, allocations: 16 kB / 464 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.2871, allocations: 19.97 kB / 464.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.2874, allocations: 147.5 kB / 464.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.2875, allocations: 8 kB / 464.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006298/0.2881, allocations: 0.7006 MB / 464.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2881, allocations: 0 / 464.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.2887, allocations: 459.1 kB / 465.4 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.2889, allocations: 95.3 kB / 465.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.289, allocations: 8.062 kB / 465.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.2892, allocations: 11.98 kB / 465.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.2893, allocations: 11.98 kB / 465.5 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2893, allocations: 8 kB / 465.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006232/0.2899, allocations: 0.53 MB / 466 MB, free: 4.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2899, allocations: 0 / 466 MB, free: 4.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005758/0.2905, allocations: 203.6 kB / 466.2 MB, free: 4.289 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.000513/0.291, allocations: 287.3 kB / 466.5 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.2916, allocations: 275.3 kB / 466.8 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2916, allocations: 0 / 466.8 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.2919, allocations: 170.4 kB / 466.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/0.2926, allocations: 168.7 kB / 467.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.2945, allocations: 1.272 MB / 468.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2948, allocations: 341.3 kB / 468.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.2949, allocations: 59.42 kB / 468.8 MB, free: 1.645 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2949, allocations: 0 / 468.8 MB, free: 1.645 MB / 366.1 MB Notification: Performance of Templates: time 0.02003/0.3149, allocations: 14.85 MB / 483.6 MB, free: 2.812 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 -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: 7.967920346010942]