Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 55.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 52.13 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006055/0.2467, allocations: 5.318 MB / 426.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.2573, allocations: 9.107 MB / 435.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.2578, allocations: 35.69 kB / 435.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.2586, allocations: 410.9 kB / 435.7 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2605, allocations: 0.8342 MB / 436.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2617, allocations: 0.5948 MB / 437.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.264, allocations: 1.693 MB / 438.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.2643, allocations: 111.1 kB / 439 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.2647, allocations: 310.5 kB / 439.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.2651, allocations: 326 kB / 439.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.2651, allocations: 28 kB / 439.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.2665, allocations: 0.6477 MB / 440.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.2666, allocations: 107.3 kB / 440.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.2669, allocations: 401.5 kB / 440.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.2685, allocations: 1.202 MB / 441.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2685, allocations: 0 / 441.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2685, allocations: 4 kB / 442 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2685, allocations: 0 / 442 MB, free: 9.926 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.001942/0.2704, allocations: 1.309 MB / 443.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2704, allocations: 16.02 kB / 443.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2706, allocations: 116.2 kB / 443.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.2718, allocations: 0.8684 MB / 444.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.2718, allocations: 16.56 kB / 444.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.2718, allocations: 28 kB / 444.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.2724, allocations: 303.7 kB / 444.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2724, allocations: 0 / 444.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.2724, allocations: 12 kB / 444.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.2724, allocations: 7.984 kB / 444.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.2729, allocations: 242.1 kB / 444.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2746, allocations: 1.175 MB / 446 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.275, allocations: 182.6 kB / 446.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.2753, allocations: 189.3 kB / 446.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009087/0.2844, allocations: 8.573 MB / 455 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.2844, allocations: 42.55 kB / 455 MB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.2844, allocations: 0 / 455 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001654/0.2861, allocations: 0.666 MB / 455.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.2861, allocations: 77.11 kB / 455.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.2871, allocations: 0.8026 MB / 456.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2871, allocations: 25.7 kB / 456.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.2875, allocations: 449 kB / 457 MB, free: 9.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.2875, allocations: 83.27 kB / 457.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.2876, allocations: 57.89 kB / 457.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2877, allocations: 321.9 kB / 457.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2879, allocations: 64.47 kB / 457.5 MB, free: 8.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2881, allocations: 162.3 kB / 457.7 MB, free: 8.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.2884, allocations: 224.5 kB / 457.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2884, allocations: 0 / 457.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006123/0.289, allocations: 408.4 kB / 458.3 MB, free: 7.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2891, allocations: 15.88 kB / 458.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.2891, allocations: 12 kB / 458.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003594/0.2895, allocations: 147.6 kB / 458.5 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2896, allocations: 32.23 kB / 458.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007093/0.2903, allocations: 0.7124 MB / 459.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.2906, allocations: 23.78 kB / 459.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.2906, allocations: 16 kB / 459.3 MB, free: 6.828 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.0002532/0.2908, allocations: 201.8 kB / 459.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.291, allocations: 107.3 kB / 459.6 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.2917, allocations: 399.4 kB / 460 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2917, allocations: 0 / 460 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2917, allocations: 8 kB / 460 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2917, allocations: 0 / 460 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.2924, allocations: 0.515 MB / 460.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/0.2924, allocations: 12 kB / 460.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2925, allocations: 15.98 kB / 460.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/0.2928, allocations: 144.6 kB / 460.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2928, allocations: 8 kB / 460.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006473/0.2934, allocations: 0.6998 MB / 461.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2934, allocations: 0 / 461.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.2941, allocations: 455 kB / 461.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.2943, allocations: 176.4 kB / 462 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.2944, allocations: 0 / 462 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2946, allocations: 12 kB / 462 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.2947, allocations: 19.91 kB / 462 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.2947, allocations: 12 kB / 462 MB, free: 3.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006281/0.2953, allocations: 0.5422 MB / 462.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2953, allocations: 0 / 462.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005498/0.2959, allocations: 191.7 kB / 462.7 MB, free: 3.211 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.0005426/0.2964, allocations: 303.1 kB / 463 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006256/0.297, allocations: 275 kB / 463.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.297, allocations: 0 / 463.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.2973, allocations: 166.6 kB / 463.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.298, allocations: 168.2 kB / 463.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3003, allocations: 1.238 MB / 464.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.3009, allocations: 0.9413 MB / 465.8 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003026/0.3012, allocations: 110.7 kB / 465.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.3013, allocations: 51.42 kB / 466 MB, free: 15.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3013, allocations: 0 / 466 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Templates: time 0.0174/0.3187, allocations: 9.281 MB / 475.3 MB, free: 6.664 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.584318194538355]