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.001262/0.001262, allocations: 89.92 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001402/0.001402, allocations: 158.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.535/1.535, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.453e-06/1.453e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.688e-05, allocations: 4.953 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.00839/0.008417, allocations: 4.653 MB / 329.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.02387, allocations: 7.875 MB / 337.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009705/0.02484, allocations: 57.66 kB / 337.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.02628, allocations: 357.7 kB / 337.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.02947, allocations: 0.8784 MB / 338.8 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.03155, allocations: 0.6053 MB / 339.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002969/0.03452, allocations: 1.788 MB / 341.2 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.03477, allocations: 99.34 kB / 341.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.03541, allocations: 458.7 kB / 341.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.03578, allocations: 223.2 kB / 342 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.03585, allocations: 32 kB / 342 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.03718, allocations: 0.5813 MB / 342.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.03729, allocations: 107.3 kB / 342.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.0376, allocations: 231.3 kB / 342.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.03919, allocations: 1.246 MB / 344.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.03919, allocations: 0 / 344.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.03919, allocations: 0 / 344.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.0392, allocations: 0 / 344.2 MB, free: 1.836 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.001914/0.04112, allocations: 1.234 MB / 345.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.04116, allocations: 15.98 kB / 345.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.04145, allocations: 132.2 kB / 345.5 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.04275, allocations: 0.7654 MB / 346.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.04277, allocations: 20.88 kB / 346.3 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.04283, allocations: 31.7 kB / 346.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.04341, allocations: 337.5 kB / 346.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.04342, allocations: 0 / 346.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.04345, allocations: 12 kB / 346.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.04346, allocations: 12 kB / 346.7 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.04392, allocations: 230 kB / 346.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.04564, allocations: 1.036 MB / 348 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.04603, allocations: 181.3 kB / 348.1 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.04637, allocations: 205.4 kB / 348.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006737/0.05311, allocations: 3.103 MB / 351.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.05314, allocations: 42.5 kB / 351.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.05314, allocations: 0 / 351.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001698/0.05484, allocations: 0.5717 MB / 352.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.0549, allocations: 85.09 kB / 352.1 MB, free: 9.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.05587, allocations: 0.7742 MB / 352.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.05591, allocations: 25.7 kB / 352.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.0563, allocations: 452.8 kB / 353.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/0.05637, allocations: 75.28 kB / 353.5 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.05648, allocations: 57.89 kB / 353.5 MB, free: 8.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.05662, allocations: 318 kB / 353.8 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.05678, allocations: 68.2 kB / 353.9 MB, free: 7.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.057, allocations: 171.6 kB / 354.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.05739, allocations: 234.3 kB / 354.3 MB, free: 7.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.0574, allocations: 0 / 354.3 MB, free: 7.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006852/0.05808, allocations: 410.3 kB / 354.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.0581, allocations: 8 kB / 354.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.05813, allocations: 16 kB / 354.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.05851, allocations: 139.7 kB / 354.9 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.05869, allocations: 35.91 kB / 354.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007141/0.0594, allocations: 0.7111 MB / 355.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.05965, allocations: 27.78 kB / 355.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.05968, allocations: 12 kB / 355.6 MB, free: 5.969 MB / 318.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.000255/0.05994, allocations: 201.8 kB / 355.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.06006, allocations: 107.3 kB / 355.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008062/0.06087, allocations: 396 kB / 356.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.06087, allocations: 3.938 kB / 356.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.06088, allocations: 3.938 kB / 356.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.06088, allocations: 4 kB / 356.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.06143, allocations: 430 kB / 356.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.06146, allocations: 12 kB / 356.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.06159, allocations: 19.97 kB / 356.8 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/0.06189, allocations: 128.8 kB / 356.9 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.06191, allocations: 4 kB / 356.9 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000689/0.0626, allocations: 0.7229 MB / 357.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0626, allocations: 0 / 357.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.06323, allocations: 456 kB / 358.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.06339, allocations: 95.27 kB / 358.2 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.06348, allocations: 8 kB / 358.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.0637, allocations: 0 / 358.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.06377, allocations: 19.97 kB / 358.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.06379, allocations: 11.94 kB / 358.2 MB, free: 3.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006583/0.06444, allocations: 0.534 MB / 358.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.06444, allocations: 0 / 358.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005412/0.06499, allocations: 199.6 kB / 358.9 MB, free: 2.555 MB / 318.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.0005362/0.06552, allocations: 311.2 kB / 359.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.06611, allocations: 268 kB / 359.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.06612, allocations: 4 kB / 359.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.06643, allocations: 171.3 kB / 359.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.0672, allocations: 164.1 kB / 359.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.06901, allocations: 1.193 MB / 361 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.06934, allocations: 349.3 kB / 361.4 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002874/0.06962, allocations: 106.7 kB / 361.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.06971, allocations: 52.48 kB / 361.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.06971, allocations: 0 / 361.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Templates: time 0.01791/0.08762, allocations: 8.654 MB / 370.2 MB, free: 7.328 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.590360309928656]