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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 107.1 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 190.4 kB / 23.48 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 51.92 kB / 345.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2353, allocations: 49.13 MB / 394.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00471/0.24, allocations: 5.162 MB / 400.1 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.2483, allocations: 8.7 MB / 408.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.2489, allocations: 40.97 kB / 408.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000979/0.2499, allocations: 390.1 kB / 409.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.2522, allocations: 0.8253 MB / 410 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.2539, allocations: 0.5808 MB / 410.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002645/0.2566, allocations: 1.656 MB / 412.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.2568, allocations: 102 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.2572, allocations: 287.5 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.2577, allocations: 314.7 kB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.2577, allocations: 29.06 kB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.2592, allocations: 0.5615 MB / 413.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.2593, allocations: 107.8 kB / 413.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.2597, allocations: 408.5 kB / 414 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.2613, allocations: 1.201 MB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2614, allocations: 1.031 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2614, allocations: 0 / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.2614, allocations: 0 / 415.2 MB, free: 12.01 MB / 334.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.002165/0.2635, allocations: 1.314 MB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2636, allocations: 13.2 kB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.2638, allocations: 125 kB / 416.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.2652, allocations: 0.8595 MB / 417.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2652, allocations: 18.44 kB / 417.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.2653, allocations: 24.03 kB / 417.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.2658, allocations: 308.4 kB / 417.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2658, allocations: 0 / 417.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.2659, allocations: 14.27 kB / 417.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2659, allocations: 9.781 kB / 417.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.2663, allocations: 231.1 kB / 418.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.2682, allocations: 1.189 MB / 419.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.2686, allocations: 179.6 kB / 419.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.2689, allocations: 194.5 kB / 419.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009606/0.2785, allocations: 8.57 MB / 428.3 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.2786, allocations: 36.83 kB / 428.3 MB, free: 108 kB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.2786, allocations: 4 kB / 428.3 MB, free: 104 kB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001645/0.2802, allocations: 0.6556 MB / 429 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.2803, allocations: 83.73 kB / 429.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/0.2812, allocations: 0.7981 MB / 429.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2813, allocations: 25.7 kB / 429.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.2817, allocations: 447.7 kB / 430.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.2817, allocations: 84.89 kB / 430.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.2818, allocations: 54.56 kB / 430.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.282, allocations: 320.8 kB / 430.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2821, allocations: 64.36 kB / 430.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.2823, allocations: 161.2 kB / 431 MB, free: 14.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.2827, allocations: 224.5 kB / 431.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2827, allocations: 4 kB / 431.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006767/0.2834, allocations: 406 kB / 431.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2834, allocations: 8 kB / 431.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.2835, allocations: 12 kB / 431.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.2838, allocations: 145 kB / 431.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.284, allocations: 39.86 kB / 431.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007113/0.2847, allocations: 0.7084 MB / 432.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.285, allocations: 35.84 kB / 432.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.2851, allocations: 16 kB / 432.6 MB, free: 12.47 MB / 350.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.0002545/0.2853, allocations: 201.7 kB / 432.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.2855, allocations: 107.3 kB / 432.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008267/0.2863, allocations: 407.6 kB / 433.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.2863, allocations: 7.984 kB / 433.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2863, allocations: 0 / 433.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.2863, allocations: 3.984 kB / 433.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.287, allocations: 0.5035 MB / 433.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/0.287, allocations: 16 kB / 433.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.2871, allocations: 19.92 kB / 433.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.2874, allocations: 136.8 kB / 433.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2874, allocations: 4 kB / 433.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006818/0.2881, allocations: 0.7047 MB / 434.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2881, allocations: 4.062 kB / 434.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.2888, allocations: 456.2 kB / 435.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.289, allocations: 176.4 kB / 435.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.2891, allocations: 4 kB / 435.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2893, allocations: 4 kB / 435.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.2894, allocations: 19.91 kB / 435.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.2894, allocations: 16 kB / 435.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006786/0.2901, allocations: 0.5383 MB / 435.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2901, allocations: 3.938 kB / 435.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.2907, allocations: 195.7 kB / 436 MB, free: 8.836 MB / 350.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.000524/0.2912, allocations: 299 kB / 436.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000619/0.2918, allocations: 260.2 kB / 436.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2918, allocations: 0 / 436.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.2921, allocations: 175.3 kB / 436.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.2928, allocations: 136.5 kB / 436.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.2948, allocations: 1.287 MB / 438.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.2954, allocations: 0.9374 MB / 439.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.2955, allocations: 55.38 kB / 439.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2955, allocations: 0 / 439.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Templates: time 0.02039/0.3159, allocations: 14.44 MB / 453.6 MB, free: 7.129 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/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