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.001704/0.001704, allocations: 114.9 kB / 19.17 MB, free: 3.871 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.002105/0.002105, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.439/1.439, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.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 0.001831/0.001831, allocations: 59.91 kB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1009, allocations: 53.33 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.1876/0.2884, allocations: 5.308 MB / 433.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007825/0.2962, allocations: 9.157 MB / 442.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005092/0.2967, allocations: 37.66 kB / 442.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009329/0.2977, allocations: 394.8 kB / 442.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.3, allocations: 0.8417 MB / 443.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.3017, allocations: 0.6007 MB / 444.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.3042, allocations: 1.722 MB / 445.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.3044, allocations: 97.25 kB / 446 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.3048, allocations: 315.7 kB / 446.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.3053, allocations: 324.6 kB / 446.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.3054, allocations: 29.38 kB / 446.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.307, allocations: 0.6622 MB / 447.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.096e-05/0.3071, allocations: 99.94 kB / 447.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.3074, allocations: 408.2 kB / 447.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.3091, allocations: 1.222 MB / 449 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3091, allocations: 4.891 kB / 449 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3091, allocations: 0 / 449 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.3091, allocations: 1.969 kB / 449 MB, free: 0.5859 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.001943/0.311, allocations: 1.311 MB / 450.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3111, allocations: 10.19 kB / 450.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.3114, allocations: 133 kB / 450.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.3127, allocations: 0.8595 MB / 451.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3127, allocations: 18.62 kB / 451.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.3127, allocations: 28.39 kB / 451.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.3133, allocations: 311.3 kB / 451.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3134, allocations: 0 / 451.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.3134, allocations: 10.8 kB / 451.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.3134, allocations: 10.52 kB / 451.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.3139, allocations: 234.7 kB / 451.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.3159, allocations: 1.195 MB / 453.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.3163, allocations: 172.9 kB / 453.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.3167, allocations: 200.7 kB / 453.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.3269, allocations: 8.88 MB / 462.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3269, allocations: 33.67 kB / 462.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.3269, allocations: 0 / 462.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001774/0.3287, allocations: 0.6556 MB / 463.1 MB, free: 5.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.3287, allocations: 79.73 kB / 463.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3298, allocations: 0.8097 MB / 463.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.3298, allocations: 26.83 kB / 464 MB, free: 4.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.3302, allocations: 443.5 kB / 464.4 MB, free: 4.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.3303, allocations: 81.2 kB / 464.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3304, allocations: 62.77 kB / 464.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3306, allocations: 320.7 kB / 464.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3307, allocations: 64.05 kB / 464.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3309, allocations: 151.8 kB / 465.1 MB, free: 3.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.3313, allocations: 228.8 kB / 465.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3313, allocations: 1.219 kB / 465.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006946/0.332, allocations: 414.8 kB / 465.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.332, allocations: 5.531 kB / 465.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.3321, allocations: 14.22 kB / 465.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.3325, allocations: 146.5 kB / 465.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.3327, allocations: 28.42 kB / 465.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007456/0.3334, allocations: 0.7164 MB / 466.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.3338, allocations: 29.16 kB / 466.6 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.3338, allocations: 15.94 kB / 466.6 MB, free: 2.789 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.0002921/0.3341, allocations: 202 kB / 466.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.3343, allocations: 107.1 kB / 466.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.3351, allocations: 400.3 kB / 467.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.3351, allocations: 2.656 kB / 467.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3351, allocations: 0 / 467.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3351, allocations: 6.984 kB / 467.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.3358, allocations: 0.5055 MB / 467.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/0.3358, allocations: 15.84 kB / 467.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.336, allocations: 16.14 kB / 467.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.3362, allocations: 142 kB / 468 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.3363, allocations: 8.25 kB / 468 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006784/0.3369, allocations: 0.6954 MB / 468.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3369, allocations: 4.062 kB / 468.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.3376, allocations: 453.9 kB / 469.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.3378, allocations: 172.2 kB / 469.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.3379, allocations: 5 kB / 469.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3381, allocations: 11.22 kB / 469.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.3382, allocations: 16.72 kB / 469.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.3382, allocations: 15.59 kB / 469.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006994/0.3389, allocations: 0.5411 MB / 469.9 MB, free: 452 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3389, allocations: 0 / 469.9 MB, free: 452 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006765/0.3396, allocations: 199.1 kB / 470.1 MB, free: 416 kB / 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.0005657/0.3401, allocations: 299.6 kB / 470.4 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.3408, allocations: 274.8 kB / 470.7 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3408, allocations: 1.219 kB / 470.7 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.3411, allocations: 167.7 kB / 470.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.3419, allocations: 165.7 kB / 471 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.344, allocations: 1.272 MB / 472.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.3446, allocations: 0.9381 MB / 473.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.3447, allocations: 55.77 kB / 473.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3447, allocations: 3.938 kB / 473.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02089/0.3655, allocations: 14.49 MB / 487.8 MB, free: 2.898 MB / 382.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.22742204903625]